diff options
Diffstat (limited to 'man5/proc.5')
-rw-r--r-- | man5/proc.5 | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/man5/proc.5 b/man5/proc.5 index b8dbc6ed..fc91b503 100644 --- a/man5/proc.5 +++ b/man5/proc.5 @@ -3253,12 +3253,17 @@ cache management. Writing to this file causes the kernel to drop clean caches, dentries and inodes from memory, causing that memory to become free. -To free pagecache, use -.IR "echo 1 > /proc/sys/vm/drop_caches" ; -to free dentries and inodes, use -.IR "echo 2 > /proc/sys/vm/drop_caches" ; -to free pagecache, dentries and inodes, use -.IR "echo 3 > /proc/sys/vm/drop_caches" . +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 Because this is a nondestructive operation and dirty objects are not freeable, the |