Re: Development Examples

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 :|

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]