drop-caches is a really simple utility that tells the kernel to
empty its disk caches, by writing the appropriate value to the
/proc/sys/vm/drop_caches file. The
drop-caches utility could
be replaced with a simple
echo command, except:
- I can't remember the full pathname of the proc file.
- I can't remember the right value to write to the file.
- Redirection doesn't work well with sudo.
So I wrote a tiny utility for this.
- Git browse: http://git.liw.fi/cgi-bin/cgit/cgit.cgi/drop-caches/
- Git clone: