Run "sync" command first to flush pending data out to disk
# sync
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
# sync
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
No comments:
Post a Comment