码迷,mamicode.com
首页 > 其他好文 > 详细

centos 6.5 清除内存中的系统缓存

时间:2014-10-14 16:42:59      阅读:173      评论:0      收藏:0      [点我收藏+]

标签:centos 6.5 清除内存中的系统缓存


centos 6.5 清除内存中的系统缓存

# free -m

             total       used       free     shared    buffers     cached

Mem:         15936       7313       8623          0          3         90

-/+ buffers/cache:       7219       8716

Swap:         8194          7       8187


使用以下命令清除缓存:


echo 3 > /proc/sys/vm/drop_caches


#free -m 

             total       used       free     shared    buffers     cached

Mem:         15936       5313       10623          0          3         60

-/+ buffers/cache:       7219       8716

Swap:         8194          7       8187


centos 6.5 清除内存中的系统缓存

标签:centos 6.5 清除内存中的系统缓存

原文地址:http://bristol.blog.51cto.com/1004110/1563824

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!