安装包命令查找:
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