WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Graphing domain CPU usage?

Am Montag, den 11.04.2005, 17:54 -0500 schrieb Nate Carlson:
> Just curious, is there currently any way to get info on current CPU usage 
> for individual domains (besides installing an snmp agent in each domain) 
> in a format that could be easily fed into mrtg/rrdtool?
> 
> It'd be nice to know what VM's are using the CPU the most.

Won't get a price for elegance, but what about polling the "Time(s)"
column in "xm list" every few seconds

  /usr/sbin/xm list | grep "^$domname" | gawk '{ print $6 }'

and calculating the differences?

*duck & cover*   /nils.


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users