# echo 1 > /proc/sys/vm/drop_caches
[ »ç¿ë ¹æ¹ý ]
•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: (1¹ø°ú 2¹ø ¸ðµÎ Ŭ¸®¾î)
•echo 3 > /proc/sys/vm/drop_caches
¢Ñ As this is a non-destructive operation, and dirty objects are not freeable, the user should run "sync" first in order to make sure all cached objects are freed.
|