Thank you for your quick answer. In my opinion, I/O statistics are
critical as CPU, memory usage in data center environment to optimally
plan, arrange, spread VMs in a resource or say Xenhost pool. Since there
are many Xen hosts in my case and this number is growing, it is a need
to monitor each host's resource usage in a centralized console, graphing
engine, etc. Hope to see these additions in the next releases of libvirt.
Best regards,
Mindaugas Kiznis
Richard W.M. Jones wrote:
Mindaugas Kiznis wrote:
- I am trying to make an application, which would connect to a remote
xen host and fetch some information about total (physical) CPU usage,
total memory usage, network and disk I/O. I have managed to do a
remote statistics grabber for CPU and memory usage using libvirt. I
couldn't find any source of information about libvirt ability to
return I/O numbers. Also haven't found any other solution yet. Any
suggestions?
It's very interesting that you should ask this, because I am
investigating adding network I/O and block I/O stats to libvirt. We
would get the information from /sys/devices/xen-backend/... in the
same way that libxenstat does it at the moment, and pass that up
through libvirt APIs. As with all libvirt-related stuff we need to
think about how it will apply to the other hypervisors that we support
and could support in the future.
You are quite right that there is no facility for this in libvirt
right now (just CPU-/memory-based stats at the moment).
See also: http://et.redhat.com/~rjones/virt-top/
Rich.
------------------------------------------------------------------------
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list