查看一台机器是否为虚拟机
linux
dmidecode -s system-product-name ===>注意:需root权限 物理机: DL 580 虚拟机: VMware Virtual Platform
windows
在cmd环境下使用systeminfo查看
物理机:
系统制造商: To be filled by O.E.M.
系统型号: To be filled by O.E.M.
虚拟机:
系统制造商: VMware, Inc.
系统型号: VMware Virtual Platform