Re: I need help for use virDomainInterfaceStats

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

 



On 02/22/2011 10:12 AM, ÐÑÐÐÑ ÐÑÐÐÐÐÐÑ wrote:
Hi I want use the virDomainInterfaceStats for get statistic of domain,
but I don't now how get path parametr.
Please help me!

The path argument in virDomainInterfaceStats() is intended to be the name of the tap interface on the host that's used to connect the guest to the network, eg "vnet0".

You can find this name by retrieving the XML for the active domain, and looking for <target dev='xxx'/> in each <interface> element - the 'xxx' is the tap interface name, and should be put in the path arg when calling virDomainInterfaceStats().

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