[libvirt-users] Not able to capture detailed CPU information of the guest machine using Libvirt API.

Osier Yang jyang at redhat.com
Fri Feb 11 10:26:19 UTC 2011


于 2011年02月11日 15:29, arpita k 写道:
> Hi ,
>
> I have two KVM guests in ubuntu host machine.I am using Python binding
> of Libvirt API to query on the hypervisor and capture the CPU , memory
> related information of the guest machines.
>
> I need to capture the detail information regarding CPU like : cpu_aidle,
> cpu_idle, cpu_speed, cpu_wio and memory like
> :mem_cached,mem_buffers,mem_free etc. of the guest machines.
>
> How could I get these information?

You ask more than what libvirt could provide. :-)

Guess libguest will help you get what you want. (directly execute
commands on it, and then parse the returned information? )

http://libguestfs.org

Regards
Osier




More information about the libvirt-users mailing list