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?

On Tue, 12 Apr 2005, Nils Toedtmann wrote:
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?

True enough!

Something elegant (and accessible via SNMP) would be nice, but this would certainly work.

I'll have to look at hacking that up.. :)

Thanks! Forgot that 'xm list' included CPU time, too. Heh.  :)

On another note, anyone have any ideas of calculating something like the 'load average' of Xen itself (so you can know if you're pegging the CPU on the box constantly)? As far as I know, the xm command doesn't give anything helpful in that regard.

------------------------------------------------------------------------
| nate carlson | natecars@xxxxxxxxxxxxxxx | http://www.natecarlson.com |
|       depriving some poor village of its idiot since 1981            |
------------------------------------------------------------------------

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