VMware Cloud Community
vyrib
Contributor
Contributor
Jump to solution

List virtual machines in ESX 3.5 server

Is it possible to list virtual machines and their status in ESX 3.5 host server , connected to host directly using ssh ?

Thank's

0 Kudos
1 Solution

Accepted Solutions
vmroyale
Immortal
Immortal
Jump to solution

Hello and welcome to the forums.

Check out this discussion.

Good Luck!

Brian Atkinson | vExpert | VMTN Moderator | Author of "VCP5-DCV VMware Certified Professional-Data Center Virtualization on vSphere 5.5 Study Guide: VCP-550" | @vmroyale | http://vmroyale.com

View solution in original post

0 Kudos
2 Replies
vmroyale
Immortal
Immortal
Jump to solution

Hello and welcome to the forums.

Check out this discussion.

Good Luck!

Brian Atkinson | vExpert | VMTN Moderator | Author of "VCP5-DCV VMware Certified Professional-Data Center Virtualization on vSphere 5.5 Study Guide: VCP-550" | @vmroyale | http://vmroyale.com
0 Kudos
lamw
Community Manager
Community Manager
Jump to solution

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:

Twitter: @lamw

VMware Code Central - Scripts/Sample code for Developers and Administrators

VMware Developer Comuunity

If you find this information useful, please award points for "correct" or "helpful".