How can I tell if I'm running in a VMWARE virtual machine (from linux)?

tomdee picture tomdee · Feb 12, 2009 · Viewed 25.8k times · Source

I have a VMWARE ESX server. I have Redhat VMs running on that server. I need a way of programatically testing if I'm running in a VM. Ideally, I'd like to know how to do this from Perl.

Answer

Jonas Engström picture Jonas Engström · Feb 12, 2009