Red Hat Are we on a virtual machine
id : c1nweg18g8
category : computer
blog : unixlinux
created : 05/05/10 - 11:13:03

Vmware
  • There are some simples ways to know if your server is virtualized or not
    • dmidecode way :

# dmidecode | egrep -i 'manufacturer|product'

  • If you have something like this Manufacturer: VMware, Inc. on your output you are on a Vmware virtual machine
    • dmesg way :

# dmesg | grep -i virtual

  • If you have something like this Vendor: VMware Model: Virtual disk Rev: 1.0 on your output you are on a Vmware virtual machine.
    • If it is unsuffisant have a look on /var/log/dmesg if you can grep something like vmware

Link