[CentOS] How to detect whether running on VMware?
paul.bijnens at xplanation.com
Thu Jul 24 12:03:15 UTC 2008
Tony Mountifield wrote:
> Does anyone know how a program, script or shell user can best determine
> whether the machine is running on bare metal or is a VMware guest?
This paper show some very interesting tricks:
One simple (but not really foolproof, and only for VMWare) is testing
the MAC address, and look at the OUI bytes; these are assigned to VMWare:
More information about the CentOS