Is it possible to list virtual machines and their status in ESX 3.5 host server , connected to host directly using ssh ?
Thank's
Hello and welcome to the forums.
Check out this discussion.
Good Luck!
Hello and welcome to the forums.
Check out this discussion.
Good Luck!
Yes, you can use vmware-cmd
To list VMs:
vmware-cmd -l
Not sure what you mean by "status", you can get some information by looking at the other options in vmware-cmd OR you can poke around using vimsh wrapper (vmware-vim-cmd)
For more information about vimsh: Take a look at this page: http://engineering.ucsb.edu/~duonglt/vmware/#vmware_vimsh
=========================================================================
William Lam
VMware vExpert 2009
VMware ESX/ESXi scripts and resources at:
VMware Code Central - Scripts/Sample code for Developers and Administrators
If you find this information useful, please award points for "correct" or "helpful".