Skip to content
Search

Linux:Cache

lastmod 2024-10-17created 2024-10-172 edits

Notes on Linux cache memory.

/proc/sys/vm/drop_caches

Free pagecache

echo 1 > /proc/sys/vm/drop_caches

Free dentries and inodes

echo 2 > /proc/sys/vm/drop_caches

Free pagecache, dentries, and inodes

echo 3 > /proc/sys/vm/drop_caches

See also

author Zer0 sitemap