To get a description of all the vms on an ESX 5.1 box use the following:
~ # vim-cmd vmsvc/getallvms | grep vmx | awk '{ print $2 }'
To get a description of all the vms on an ESX 5.1 box use the following:
~ # vim-cmd vmsvc/getallvms | grep vmx | awk '{ print $2 }'