1、查看服务器型号、序列号
# dmidecode|grep "System Information" -A9 | egrep "Manufacturer|Product|Serial"
2、查看主板型号
# dmidecode |grep -A16 "System Information$" 或 dmidecode -t1
3、查看BIOS信息
# dmidecode -t bios
4、查看网卡信息
# dmesg | grep -i Ethernet
igb: Intel(R) Gigabit Ethernet Network Driver - version 5.3.0-k
igb 0000:04:00.0: Intel(R) Gigabit Ethernet Network Connection
igb 0000:04:00.1: Intel(R) Gigabit Ethernet Network Connection
igb 0000:04:00.2: Intel(R) Gigabit Ethernet Network Connection
igb 0000:04:00.3: Intel(R) Gigabit Ethernet Network Connection
igb 0000:02:00.0: Intel(R) Gigabit Ethernet Network Connection
igb 0000:02:00.1: Intel(R) Gigabit Ethernet Network Connection
5、查看pci信息,即主板所有硬件槽信息
# lspci | head -10