Crucial Paradigm

Call us now 1300 884 839

Member Login
Australia USA

Location: Australia

Crucial Feature 01 Crucial Feature 02 Crucial Feature 03 Crucial Feature 04

Crucial Paradigm Australia Official Blog

RSS Feed

XenServer Useful Commands Listing VM Numbers

May 3, 2011

XenServer does not have any obvious stats on the number of VMs in a pool, or on a particular server.  These details can however can be found via the commend line:

Listing number of VMs in a pool (running, halted, or suspended):

xe vm-list  | grep -c running

Listing the number of VMs on a particular host/server (running, halted, or suspended):

xe vm-list resident-on=[host uuid] | grep -c running

You can replace “running” with halted, suspended, or if you want to see VMs regardless of whether they are on or not “power-state”.

Aaron Weller
Author:


No Comments

Leave a Reply

Copyright 2003-2012 © Crucial Paradigm Pty Ltd, All Rights Reserved