[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

Comments

Popular posts from this blog

[Level 1] Rar tool for Solaris.

[Level 2] iif in Python