Friday, September 10, 2010

[Level 1] How to flush memory cache in Ubuntu?

How to use command to flush memory cache?

#echo 1 > /proc/sys/vm/drop_caches  ## flush by command
#echo 0 > /proc/sys/vm/drop_caches  ## restore to system default value

Wish this helps.

regards,
Stanley Huang