CentOS Linux查看主板型号及硬件信息

安装包命令查找:

yum whatprovides */lspci

查看主板型号:(经过测试,去掉$)

dmidecode |grep -A16 "System Information$"

内存槽及内存条:(经过测试,去掉$)

dmidecode |grep -A16 "Memory Device$"

硬盘:

fdisk -l

smartctl -a /dev/sda

HP SmartArray (cciss) hardware RAID controllers:

smartctl -d cciss,0 -a /dev/cciss/c0d0

网卡:

lspci | grep Ethernet

scsi/raid卡:

lspci

centos相关命令安装:

yum -y install smartmontools

yum install pciutils -y


你可能感兴趣的:(centos)