1. dmidecode -s system-product-name
物理机:
[root@swnode1]# dmidecode -s system-product-name I840-GS
虚拟机:
[root@gnntdb DbBackup]# dmidecode -s system-product-name VMware Virtual Platform
2. lscpu