Pages

Saturday, August 11, 2012

centos free memory cache

分享

To free pagecache, 
use echo 1 > /proc/sys/vm/drop_caches; 

to free dentries and inodes, 
use echo 2 > /proc/sys/vm/drop_caches;

to free pagecache, dentries and inodes, use 
echo 3 > /proc/sys/vm/drop_caches.
Related Posts with Thumbnails