首页 > 系统服务 > 详细

linux memory release commands内存清理/释放命令

时间:2015-02-28 21:32:46      阅读:331      评论:0      收藏:0      [点我收藏+]

linux 内存清理/释放命令

You could find reference from here:

http://jingyan.baidu.com/article/597a06436a687f312b5243f3.html

Basically it looks like this:

----------------------------------

清理前内存使用情况

free –m   

 

或者 

free

 

清理内存

 

echo 1 > /proc/sys/vm/drop_caches 

 

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

完成!

查看内存条数命令:

dmidecode |grep -A16 "Memory Device$"

 

----------------------------------

explaination:

the

echo 1 > /proc/sys/vm/drop_caches

this will make system drop caches. Then vacancy comes out.

 

linux memory release commands内存清理/释放命令

原文:http://www.cnblogs.com/spaceship9/p/4306206.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!