Flush the memory cache on linux Debian

This tips may work on other linux but I only test it on Debian Squeeze :

mx1:/var/log# free -m
total used free shared buffers cached
Mem: 1961 1532 429 0 207 701
-/+ buffers/cache: 623 1338
Swap: 513 0 512
mx1:/var/log# sync && echo 3 > /proc/sys/vm/drop_caches
mx1:/var/log# free -m
total used free shared buffers cached
Mem: 1961 296 1665 0 0 23
-/+ buffers/cache: 272 1689
Swap: 513 0 512

This entry was posted in Linux, Non classé and tagged , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.