1、查看cpu型号
# more /proc/cpuinfo |grep -i model
2、显示有几块物理网卡
# lspci | grep Eth | wc -l
3、显示主板序列号
# dmidecode | grep 'Serial Number'
4、查看硬盘型号
# more /proc/scsi/scsi |grep -i model
5、查看物理CPU的个数
#cat /proc/cpuinfo |grep "physical id"|sort |uniq|wc -l
6、查看逻辑CPU的个数
#cat /proc/cpuinfo |grep "processor"|wc -l
7、查看CPU是几核
#cat /proc/cpuinfo |grep "cores"|uniq