To find out if a Linux server is virtual or physical run the following command via SSH:
dmidecode -s system-manufacturer
If the server is physical and not virtual it will return the hardware manufacture:
[root@server]# dmidecode -s system-manufacturer
Dell Computer Corporation
To find out if your server is a vmware vsphere server enter the same command, and check for an output similar to:
[root@server ~]# dmidecode -s system-manufacturer
VMware, Inc.
Note the above Linux Commands that show if a server is virtual (vmware vsphere or kvm, xen etc) or physical need to be run as root.
[root@localhost ~]# dmidecode | grep -i "vm"
Manufacturer: VMware, Inc.
Product Name: VMware Virtual Platform
Serial Number: VMware-56 4d d6 6c 32 aa e1 46-46 8b e8 da 78 cb 78 ef
VME (Virtual mode extension)
Description: VMware SVGA II
String 1: [MS_VM_CERT/SHA1/27d66596a61c48dd3dc7216fd715126e33f59ae7]
dmidecode -s system-manufacturer
If the server is physical and not virtual it will return the hardware manufacture:
[root@server]# dmidecode -s system-manufacturer
Dell Computer Corporation
To find out if your server is a vmware vsphere server enter the same command, and check for an output similar to:
[root@server ~]# dmidecode -s system-manufacturer
VMware, Inc.
Note the above Linux Commands that show if a server is virtual (vmware vsphere or kvm, xen etc) or physical need to be run as root.
[root@localhost ~]# dmidecode | grep -i "vm"
Manufacturer: VMware, Inc.
Product Name: VMware Virtual Platform
Serial Number: VMware-56 4d d6 6c 32 aa e1 46-46 8b e8 da 78 cb 78 ef
VME (Virtual mode extension)
Description: VMware SVGA II
String 1: [MS_VM_CERT/SHA1/27d66596a61c48dd3dc7216fd715126e33f59ae7]