<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi,<br>
I'ld collect data related to Cpu load for a specific domain by using
xen and collectd.<br>
<br>
I've installed collectd, collectd-virt, and in /etc/collectd I have
uncommented lines related to libvirt and csv plugins.<br>
<br>
If I go to
"/usr/var/lib/collectd/csv/<workspace_name>/libvirt/" I can
see two files:<br>
virt_cpu_total-2012-09-05<br>
virt_vcpu-0-2012-09-05<br>
<br>
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:<br>
<br>
NAME STATE CPU(sec) CPU(%) MEM(k) MEM(%) MAXMEM(k) ...<br>
Domain-0 -----r 2651 1.1 3405720 81.2 no limit<br>
wrksp-48 --b--- 436 <b>50.1</b> 262144 6.3
262144<br>
<br>
This <b>50.1</b> is exactly what I need.<br>
<br>
Is there a way to get it in a csv file?<br>
<br>
Thanks,<br>
M<br>
<br>
<br>
<br>
<br>
<br>
<br>
Thanks,<br>
M<br>
<br>
</body>
</html>