linux查看硬件信息
CPU:
dmidecode -t processor
cat /proc/cpuinfo
lscpu
Memeroy:
cat /proc/meminfo
dmidecode -t Memory
free -m
scsi:
cat /proc/scsi/scsi
fdisk -l
lsblk
raid:
lspci -v | grep RAID
cat /proc/mdstat
网卡:
lspci -v |grep -i 'eth'
ethtool eth0