[Libvir] Xen physical host statistics

Richard W.M. Jones rjones at redhat.com
Fri Aug 10 10:10:50 UTC 2007


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.

-- 
Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/
Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod
Street, Windsor, Berkshire, SL4 1TE, United Kingdom.  Registered in
England and Wales under Company Registration No. 03798903
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3237 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20070810/56c197b9/attachment-0001.bin>


More information about the libvir-list mailing list