|We moved this page to our Documentation Portal. You can find the latest updates here.|
How can I check which VM's are running on a hypervisor?
There are two ways to view VMs running on a hypervisor; through the UI or through the Command Line.
To see the list through the UI - click on hypervisor label. The screen that appears will show you all VMs deployed on that hypervisor, and will also show you the power status of each VM so that you can see if they're actually running or not.
To check this directly on the hypervisor, using the command line:
- To view running VM's on a hypervisor using KVM run the following command: # virsh list
- To view running VM's on a hypervisor using XEN for OnApp 6.0 and upper run: # virsh list
- To view running VM's on a hypervisor using XEN for OnApp prior to 6.0 run: # xm list
The ID listed in the output can be matched with the 'identifier' column in the virtual_machine table of the OnApp database. This identifier is also the end of the URL when viewing the virtual machine in the UI.