On Wed, Jul 29, 2015 at 07:23:41AM +0400, Kevin Walker wrote:
Hi All
I am trying to get up to speed with developing with libvirt. Can
anyone provide some good examples in C of how to gather statistics
from domains, network and storage?
The dev guide just has TBD for these items....
There are some examples in the source tree examples/dominfo
and examples/domtop.
Aside from that the 'virsh' command line tool is probably
useful reference code - find a command that shows the kind
of info you want and then look at the source tools/virsh-domain.c
Regards,
Daniel
--
|:
http://berrange.com -o-
http://www.flickr.com/photos/dberrange/ :|
|:
http://libvirt.org -o-
http://virt-manager.org :|
|:
http://autobuild.org -o-
http://search.cpan.org/~danberr/ :|
|:
http://entangle-photo.org -o-
http://live.gnome.org/gtk-vnc :|