[libvirt-users] CPU and RAM utilization

Osier Yang jyang at redhat.com
Mon Nov 14 04:10:48 UTC 2011


? 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 <http://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 at redhat.com
> https://www.redhat.com/mailman/listinfo/libvirt-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20111114/cd707ca0/attachment.htm>


More information about the libvirt-users mailing list