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

Re: [Libvir] Disks and NICs



On Thu, Dec 13, 2007 at 06:39:45PM +0530, Katti, Vadiraj (STSD-Openview) wrote:
> 
>    Hi,
>         Libvirt  provides  the disk and Network interfaces statistics for
>    each  of the guests configured. Is there a api which tells me how many
>    disk  and  network interface are configured per guest so that can make
>    the  corrosponding  calls  to  get the statistics of each the disk/nic
>    (like virDomainBlockStats and virDomainInterfaceStats).

  Get the Domain XML and analyze it, see:
    http://libvirt.org/html/libvirt-libvirt.html#virDomainGetXMLDesc
and
    http://libvirt.org/format.html

Daniel

-- 
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard      | virtualization library  http://libvirt.org/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine  http://rpmfind.net/


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