手动释放linux的缓存

时间:2014-06-28 10:41:39   收藏:0   阅读:222

To free pagecache: echo 1 > /proc/sys/vm/drop_caches;
to free dentries and inodes: echo 2 > /proc/sys/vm/drop_caches;
to free pagecache, dentries and inodes: echo 3 >/proc/sys/vm/drop_caches.

手动释放linux的缓存,布布扣,bubuko.com

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!