Websitetemplate.org

Welcome > Linux > Miscellaneous > VMware - Detecting Virtual Machine

VMware - Detecting Virtual Machine

To determine if your server is a VMware virtual, use lspci:

if [ `lspci | grep -ci vmware` -gt 0 ]; then
# VMware detected
echo "VMware detected"
else
echo "VMware not detected"
fi

Content Copyright 2003-2014 George Toft