
11 Feb
2011
11 Feb
'11
5:26 a.m.
于 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