if you have not noticed, this is my ubuntu master thesis....
http://ubuntuforums.org/showthread.php?t=1836890
check it out and share it with your friends =)
if you would like to clear your disk cache from info, open a terminal then run.
&& once root drop this script.
Code:
cat > /usr/sbin/flushcache << "EOF"
#!/bin/bash
sync; echo 3 > /proc/sys/vm/drop_caches
EOF
chmod 550 /usr/sbin/flushcache
exit
then hit enter to exit out of root mode.
now you have a command and as a user you can type "sudo flushcache" to get your cache flushed out
now for swap flusher
enter root, drop script
Code:
cat > /usr/sbin/flushswap << "EOF"
#!/bin/bash
swapoff -a && swapon -a
EOF
chmod 550 /usr/sbin/flushswap
exit
2 commands installed /usr/sbin/flushcache && /usr/sbin/flushswap
to use this
alt + f2
then run
to flush the cache
or
alt + f2
then run
my system never uses swap so that solution is not tested, but it should work.

Bookmarks