查看主板型号: sudo dmidecode |grep -A16 "System Information$"
查看系统版本: lsb_release -a
查看内存总数: cat /proc/meminfo | grep MemTotal
查看CPU(型号):cat /proc/cpuinfo | grep name | cut -f2 -d: | uniq -c
CPU运行模式: getconf LONG_BIT
查看硬盘型号: cat /proc/scsi/scsi
查看cpu个数: grep 'physical id' /proc/cpuinfo | sort -u | wc -l
查看核心数量: grep 'core id' /proc/cpuinfo | sort -u | wc -l
查看线程数: grep 'processor' /proc/cpuinfo | sort -u | wc -l