CentOS下查看硬件信息的命令整理
发布时间:2016-12-27 来源:查字典编辑
摘要:安装包命令查找:yumwhatprovides*/lspci查看主板型号:dmidecode|grep-A16"SystemInformat...
安装包命令查找:
yum whatprovides */lspci
查看主板型号:
dmidecode |grep -A16 "System Information$"
内存槽及内存条:
dmidecode |grep -A16 "Memory Device$"
硬盘:
fdisk -l</p> <p>smartctl -a /dev/sda</p> <p>HP SmartArray (cciss) hardware RAID controllers:</p> <p>smartctl -d cciss,0 -a /dev/cciss/c0d0
网卡:
mii-tool
scsi/raid卡:
lspci
centos相关命令安装:
yum -y install smartmontools</p> <p>yum install pciutils -y