于 2011年11月13日 17:03, Jatin Kumar 写道:
Hello,
I have a few vms running on a blade server and i want to log the actual RAM and CPU
utilization by these vms. dom.info(), libvirt API call is not giving correct results. It is always
showing the max allocated resources.
I have tried using virt-top also but same problem persists.

virDomainMemoryStats should work for you, in python binding, it's named
memoryStats.


Is there any thing that i am missing. 

--
Jatin Kumar


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