linux centos通过dmidecode工具等查看内存频率信息的几个命令
安装yum -y install dmidecode
Linux 查看内存的插槽数,已经使用多少插槽.每条内存多大:
dmidecode|grep -A5 "Memory Device"|grep Size|grep -v Range
Size: 4096 MB
Size: 4096 MB
Size: No Module Installed
Size: No Module Installed
Linux 查看内存的频率:
dmidecode|grep -A16 "Memory Device"|grep 'Speed'
Speed: 2400 MT/s
Speed: 2400 MT/s
Speed: Unknown
Speed: Unknown
在linux查看内存型号的命令:
dmidecode -t memory
主板最大支持几G内存
dmidecode|grep -P 'Maximum\s+Capacity'
查看主板型号:
dmidecode |grep -A16 "System Information$"
内存槽及内存条:
dmidecode |grep -A16 "Memory Device$"
网卡:
mii-tool
查看cpu个数与频率
cat /proc/cpuinfo
查看系统品牌和型号
dmidecode |grep "Product Name"
页:
[1]