|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
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
 
 |   
 
 | 
    | 
  
  
    |   | 
    |