查看linux下的内存条数  

时间:2014-09-05 10:11:01   收藏:0   阅读:226

1.内存条数:

dmidecode|grep -P -A5 "Memory\s+Device"|grep Size|grep -v Range


2.内存最大容量:

dmidecode|grep -P ‘Maximum\s+Capacity‘


3.内存频率:

dmidecode|grep -A16 "Memory Device"|grep Speed


本文出自 “运维之家(Q群:1991706)” 博客,请务必保留此出处http://304076020.blog.51cto.com/7503470/1548998

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!