Thursday, May 10, 2012

How to find Guest hosts inside VMware ESXi from command line?

~ # vim-cmd vmsvc/getallvms
Vmid     Name                      File                       Guest OS       Version   Annotation
112    server100       [datastore-NFS] server100/server100.vmx   rhel4_64Guest   vmx-07
64     server101-old   [datastore-local] server101/server101.vmx rhel4_64Guest   vmx-07
80     server100-old   [datastore-local] server100/server100.vmx rhel4_64Guest   vmx-07
96     server102       [datastore-NFS] server102/server102.vmx   rhel4_64Guest   vmx-07
Note: This Q&A is good/tested for following release: VMkernel 4.0.0 #1 SMP Release build-171294 x86_64

1 comment:

Anonymous said...

Thanks for the post.

A dofollow blog with page rank 4. Get free backlinks
unix and linux forum