Re: How to get the host network stats

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

 



On Tue, Jul 02, 2013 at 03:07:56PM +0200, Michal Novotny wrote:
> Hi,
> libvirt_domain_interface stats PHP API is calling virDomainInterfaceStats.

That gives you the stats of the guest NICs, but not anything
about the host's network stats. We don't have any API for
the latter.

> On 07/02/2013 10:10 AM, Zhang, Yijing wrote:
> >
> > Hello there,
> >
> > I want to find how to get the host’s network stats by using libvirt. I
> > found one from PHP API reference which is called
> > libvirt_domain_interface_stats, I’m guessing it’s for guest since it’s
> > ‘domain’. However, I’m not really sure.
> >
> > Looking forward to hear the answers from you guys.
> >
> > Thank you,
> >
> > Tracey

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]