[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 2] Shell Interactive With Zenity Episode 5 -- list

[Level 2] iif in Python