Hi,
I'ld collect data related to Cpu load for a specific domain by using xen and collectd.

I've installed collectd, collectd-virt, and in /etc/collectd I have uncommented lines related to libvirt and csv plugins.

If I go to "/usr/var/lib/collectd/csv/<workspace_name>/libvirt/" I can see two files:
virt_cpu_total-2012-09-05
virt_vcpu-0-2012-09-05

but, if I'm not wrong, none of these are what I need. I need to know the % cpu load of a specific domain. This data is what "xentop" proposes in second line, fourth column:

NAME  STATE   CPU(sec) CPU(%)     MEM(k) MEM(%)  MAXMEM(k) ...
 Domain-0 -----r       2651    1.1    3405720   81.2   no limit
 wrksp-48 --b---        436 *50.1*     262144    6.3 262144

This *50.1* is exactly what I need.

Is there a way to get it in a csv file?

Thanks,
 M






Thanks,
 M

_______________________________________________
collectd mailing list
[email protected]
http://mailman.verplant.org/listinfo/collectd

Reply via email to