ï
Well, it's a HVM
guest.
So, should I install the paravirt driver if i need the
statistcs?
2011-05-19
éä
åääï Daniel P. Berrange
åéæéï 2011-05-13 17:44:29
æääï éä
æéï libvir-list
äéï Re: [libvirt] why is network
i/o always zero?
On Wed, May 11, 2011 at 09:32:53PM +0800, éä wrote:
> hi all
>
> I'm using Xen on CentOS.I wanna monitor the network activity of a domain. When I use Domain.InterfaceStats( ... ), which is the C# binding of virDomainInterfaceStats, it returns -1.
>
> I wonder if the function is not supported by Xen. So I using "domifstat", and I get
>
> vif1.0 rx_bytes 0
> vif1.0 rx_packets 0
> vif1.0 rx_errs 0
> vif1.0 rx_drop 0
> vif1.0 tx_bytes 0
> vif1.0 tx_packets 0
> vif1.0 tx_errs 0
> vif1.0 tx_drop 0
>
> but it never change even when I use that domain to ping another.
You don't mention if it is a paravirt or HVM guest. If it is a
HVM guest, then you don't get any statistics, unless the paravirt
drivers are installed.
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 :|
__________ Information from ESET Smart Security, version of virus signature database 6105 (20110508) __________
The message was checked by ESET Smart Security.
http://www.eset.com
|
-- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list