Run command
Product Name: VMware Virtual Platform
- dmidecode | grep -i vmware
- If it is a physical machine, it won't return any data
- If it is a VMWare Virtual machine, you will get output like
Product Name: VMware Virtual Platform
- What is dmidecode ?
Beware that DMI data have proven to be too unreliable to be blindly trusted. Dmidecode does not scan your hardware, it only reports what the BIOS told it to.
Dmidecode is known to work on the following systems:
- Linux i386, x86-64, ia64
- FreeBSD i386, amd64
- NetBSD i386, amd64
- OpenBSD i386, amd64
- BeOS i386
- Cygwin i386
- Solaris x86
- Haiku i586
No comments:
Post a Comment