linux查看内存和回收内存

清理前内存使用情况 
free -m

free -g

echo 1 > /proc/sys/vm/drop_caches

清理后内存使用情况 
free -m

原文地址:https://www.cnblogs.com/linn/p/5430738.html