So you need to tell if you are working on a server that is a virtual machine or on physical hardware? This is for RedHat (RHEL), but may work on other *nix flavors...
cat /sys/class/dmi/id/product_name
or
/usr/sbin/virt-what
or
If you suspect that it may be a vmware vm, you can search for vmware tools. Make sure path is set correctly, and:
vm<tab>
No comments:
Post a Comment