From aeb7e78817ead3e4482808a0183d0088f87b9758 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Thu, 8 Aug 2013 08:04:26 +0200 Subject: proc.5: ffix Signed-off-by: Michael Kerrisk --- man5/proc.5 | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to 'man5') 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 -- cgit v1.2.3