首页 > 代码库 > 手动释放linux的缓存

手动释放linux的缓存

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.