[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.