linux 内存清理/释放命令
You could find reference from here:
http://jingyan.baidu.com/article/597a06436a687f312b5243f3.html
Basically it looks like this:
----------------------------------
清理前内存使用情况
free –m
或者
free
清理内存
echo > /proc/sys/vm/drop_caches
清理后内存使用情况
free -m
完成!
查看内存条数命令:
dmidecode |grep -A16 "Memory Device$"
----------------------------------
explaination:
the
echo > /proc/sys/vm/drop_caches
this will make system drop caches. Then vacancy comes out.