echo 1 > /proc/sys/vm/drop_caches

清理前

# free -h

total used free shared buffers cached

Mem: 19G 19G 203M 1.1G 82M 17G

-/+ buffers/cache: 1.5G 18G

Swap: 23G 159M 23G

清理后

# echo 1 > /proc/sys/vm/drop_caches

# free -h

total used free shared buffers cached

Mem: 19G 2.4G 17G 1.1G 680K 1.4G

-/+ buffers/cache: 1.1G 18G

Swap: 23G 163M 23G

查看内存条数命令:

dmidecode | grep -A16 "Memory Device$"

查看服务器内存槽数量及各内存条大小

linux

dmidecode | grep -A16 "Memory Device$"

esxi

vclient-主机-硬件状态

最新文章

  1. 深入学习jQuery事件绑定
  2. C# 导入EXCEL 报错外部表不是预期的格式错误 .
  3. expect结合ssh遍历线上机器
  4. [图文详解] Sublime Text在Windows/Ubuntu/Mac OSX中配置使用CTags
  5. mac 下 svn ignore 操作
  6. 关于启动 Eclipse 弹出“Failed to load the JNI shared library jvm.dll”错误的解决方法!
  7. VS2013项目受源代码管理向源代码管理注册此项目时出错
  8. 安装mono和jexus,运行asp.net程序
  9. [Lua]Mac系统上安装Lua环境
  10. JAVA中的栈和堆
  11. Gym - 101350A Sherlock Bones(思维)
  12. javaScript常用API合集
  13. python, 在信用评级中,计算KS statistic值
  14. Spring Boot 揭秘与实战(三) 日志框架篇 - 如何快速集成日志系统
  15. 学习项目部署Django+uwsgi+Nginx生产环境部署
  16. [INS-20802] Oracle Net Configguration Assistant faild
  17. HDU 2586 How far away ?(LCA在线算法实现)
  18. 在LinuxMint中对firefox进行手动安装flash插件
  19. SQL Server中的流控制语句
  20. 第168天:json对象和字符串的相互转换

热门文章

  1. 10个Python 初学者必知编码小技巧
  2. cc.rectContainsPoint使用中发现的问题
  3. php设计模式之桥接模式实例代码
  4. java继承与多态课后作业
  5. Django教程(2)
  6. 根据wsdl生成soap请求格式
  7. AcWing 789. 数的范围 二分+模板
  8. 解决报错Error response from daemon: Get https://registry-1.docker.io/v2/: net/http: TLS handshaketimeout
  9. Systemd 学习
  10. 【转载】C/C++预处理器