Skip to content

Virtualization technology currently used on Linux server

The following approach can be used to determine whether the system is running within a virtual or a physical environment.

Run the following command being logged as root:

root@server:~# dmidecode -s system-product-name
VMware Virtual Platform

The above result shows that the system is running on VMware Workstation.

If you are lack of admin rights, than you can try this command:

user@server:~$ ls -1 /dev/disk/by-id/
ata-VMware_Virtual_IDE_CDROM_Drive_10000000000000000001

The result below shows that no virtualization is used, in this case you'll see computer id or motherboard model:

root@server:~# dmidecode -s system-product-name
MS-7758