[CentOS] How to detect whether running on VMware?

Tom Brown tom at ng23.net
Thu Jul 24 14:39:50 UTC 2008

> 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?

# dmidecode | grep Product
        Product Name: VMware Virtual Platform

More information about the CentOS mailing list