Re: How to detect whether running on VMware?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



In article <g69q3o$f9v$1@xxxxxxxxxxxxxxxxxxx>,
Tony Mountifield <tony@xxxxxxxxxxxxxxxxxxx> 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.

Cheers
Tony
-- 
Tony Mountifield
Work: tony@xxxxxxxxxxxxx - http://www.softins.co.uk
Play: tony@xxxxxxxxxxxxxxx - http://tony.mountifield.org
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux