[CentOS] Re: How to detect whether running on VMware?

Tony Mountifield tony at softins.clara.co.uk
Thu Jul 24 13:39:08 UTC 2008

In article <g69q3o$f9v$1 at softins.clara.co.uk>,
Tony Mountifield <tony at softins.clara.co.uk> 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?

Thanks for the responses. Grepping for VMware in /proc/scsi/scsi or
the output from dmidecode look to be the most reliable options.

Tony Mountifield
Work: tony at softins.co.uk - http://www.softins.co.uk
Play: tony at mountifield.org - http://tony.mountifield.org

More information about the CentOS mailing list