使用dmidecode查看内存信息

Wednesday, July 21, 2010

#内存大小
root@eric-desktop:~# dmidecode|grep -P -A5 "Memory\s+Device"|grep Size|grep -v Range
    Size: 2048 MB
    Size: No Module Installed
#最大内存容量
root@eric-desktop:~# dmidecode|grep -P 'Maximum\s+Capacity'
    Maximum Capacity: 4 GB
#内存频率
root@eric-desktop:~# dmidecode|grep -A16 "Memory Device"|grep Speed
    Speed: 800 MHz (1.2 ns)
    Speed: Unknown

This entry was tagged Linux

comments powered by Disqus

© 2009-2013 lxneng.com. All rights reserved. Powered by Pyramid

go to Top