linux下查看主板内存槽与内存信息
原文地址:http://blog.sina.com.cn/s/blog_69cc2f0b0100wk5g.html1、查看内存槽数、那个槽位插了内存,大小是多少sudo dmidecode|grep -P -A5 "Memory\s+Device"|grep Size|grep -v Range或者dmidecode -t 172、查看最大支持内存数
原文地址:http://blog.sina.com.cn/s/blog_69cc2f0b0100wk5g.html
1、查看内存槽数、那个槽位插了内存,大小是多少
sudo dmidecode|grep -P -A5 "Memory\s+Device"|grep Size|grep -v Range
或者
dmidecode -t 17
2、查看最大支持内存数
sudo dmidecode|grep -P 'Maximum\s+Capacity'
或者
sudo dmidecode -t 16
3、查看槽位上内存的速率,没插就是unknown。
sudo dmidecode|grep -A16 "Memory Device"|grep 'Speed'
附录:
dmidecode支持的数字参数:
更多推荐
所有评论(0)