VMware Cloud Community
teamnoir
Contributor
Contributor

What's running on this esx instance?

‌the documentation has me totally baffled.  Pointers would be welcome if this is covered elsewhere.

I have ssh access to a machine that identifies itself as running esxi-41, (if /etc/issue can be trusted.). How do I figure out what virtual machines are hosted here?  I'd like to know both what's currently running and what's available to run.

this shouldnt be difficult, should it?

2 Replies
rcporto
Leadership
Leadership

Use the following command to list all registered virtual machines: vim-cmd vmsvc/getallvms (if you want check the state for a particular virtual machine, use: vim-cmd vmsvc/power.getstate <vmid>)

And the following to see which virtual machine is running: esxcli vms vm list

---

Richardson Porto
Senior Infrastructure Specialist
LinkedIn: http://linkedin.com/in/richardsonporto
rcporto
Leadership
Leadership

Hi teamnoir

Did you have a chance to read my previous post? Do you have any additional doubt? If not, remember to mark answers as helpful or correct.

---

Richardson Porto
Senior Infrastructure Specialist
LinkedIn: http://linkedin.com/in/richardsonporto
Reply
0 Kudos