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的缓存
时间: 2024-10-27 11:58:35
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的缓存