How about add a new api for it? The host CPU usage is also important for VM creation and migration decision, like the free memory.
Yes, I know, I can got it from "top"...:)
On Thu, Dec 17, 2009 at 5:06 AM, Daniel Veillard <veillard@xxxxxxxxxx> wrote:
On Thu, Dec 17, 2009 at 06:26:41PM +0530, anuj rampal wrote:See
> Hi,
>
> Is there a way to get the Current CPU and Memory usage of the Host machine
> and the Guest Domains..??
http://libvirt.org/html/libvirt-libvirt.html#virDomainGetInfo
and
http://libvirt.org/html/libvirt-libvirt.html#virDomainInfo
plus the mails exchanged on the subject in the last few days !
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
daniel@xxxxxxxxxxxx | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library http://libvirt.org/
--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list
-- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list