[libvirt-users] No way to obtain guest's cpu and mem usage?

Daniel P. Berrange berrange at redhat.com
Thu Apr 12 08:39:42 UTC 2012


On Thu, Apr 12, 2012 at 10:33:41AM +0200, RaSca wrote:
> Il giorno Gio 12 Apr 2012 10:30:04 CEST, Daniel P. Berrange ha scritto:
> > On Thu, Apr 12, 2012 at 09:21:18AM +0200, RaSca wrote:
> [...]
> > virt-top mostly uses the virDomainGetInfo()  API to get this data.
> > Regards,
> > Daniel
> 
> Thanks Daniel, since there's no such function in the php api, can you
> please help me to find out a solution? Is modifying the libvirt-php
> sources the only solution?

Yes, I'd suggest adding it to libvirt-php.


Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the libvirt-users mailing list