Re: Host information from libvirt KVM/Xen

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

 



Hi,
   Is this not supported for Xen ?  I get something like the below for Xen+ssh .

libvir: error : this function is not supported by the connection driver: virNodeGetCPUStats
libvir: error : this function is not supported by the connection driver: virNodeGetMemoryStats

Regards,
Navin

-----Original Message-----
From: Eric Blake [mailto:eblake@xxxxxxxxxx] 
Sent: Wednesday, February 13, 2013 7:17 PM
To: Parakkal, Navin S
Cc: libvir-list@xxxxxxxxxx; libvirt-users@xxxxxxxxxx
Subject: Re:  Host information from libvirt KVM/Xen

[no need to mail both libvir-list and libvirt-users; the former is more for development efforts, and since this is a usage question, it is sufficient to mail just libvirt-users]

On 02/13/2013 12:50 AM, Parakkal, Navin S wrote:
> Hi,
>    I'm able to get the CPU utilization metrics from libvirt for the guests (VM's) remotely . Is it possible to get the Host Cpu stat's through libvirt ?
>    I didn't find any information regarding the host cpu cycles and memory utilization to collect them remotely. Libvirt is installed on all the hosts.

You want to use the virNodeGetCPUStats() and virNodeGetMemoryStats() APIs.  In virsh, these are wrapped under 'nodecpustats' and 'nodememstats'.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org


_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users


[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux