VMware virtual or not?

Depending on naming, in a VMware environment you may not actually be sure if a Linux system is VMware or not. Here’s a quick command to find out:

which will generally output “VMware, Inc.” if VMware.

On older systems you may find “-s” doesn’t work, in which case just pipe “dmidecode” through grep looking for “VMware”.

UPDATE:

If “dmidecode” oddly isn’t available, you can also run:

If you see “VMware” in the output, it’s a safe bet that it’s a VMware virtual.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *