On Thu, July 24, 2008 7:47 am, 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?

dmidecode | grep -iq " vmware "

This returns 0 if it is a VMware system and 1 it it isn't.
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to