[virt-tools-list] [PATCH] manager: show guest machine stats under Details -> Performance.

Cole Robinson crobinso at redhat.com
Sat May 11 15:50:33 UTC 2013


On 05/11/2013 11:21 AM, Tadej Janež wrote:
> Hi!
> 
> On Thu, 2013-05-02 at 17:07 +0200, Tadej Janež wrote: 
>>
>> I've tried calling this function inside virtManager.domain's tick()
>> function with:
>> self._backend.memoryStats()
>>
>> The output I get is:
>> {'actual': 1048576L, 'rss': 966640L}.
> 
> To my understanding (reading
> http://libvirt.org/html/libvirt-libvirt.html#virDomainMemoryStatStruct),
> 'actual' is the current balloon value (in KB) and
> 'rss' is the Resident Set Size of the process running the domain (in
> KB).
> 
> So other, more interesting, values are missing.
> 
> The documentation for virDomainMemoryStats says that only statistics
> supported by the domain, the driver, and this version of libvirt will be
> returned.
> I'm testing this on a F-18 machine with libvirt-0.10.2.4-1.fc18.x86_64.
> The guest is also a F-18 machine.
> 
> Is there a problem with the version of libvirt I'm using? Or the
> host/guest?
> 

Hmm, qemu doesn't seem to be reporting this info? I'm on F19 with latest
libvirt and qemu 1.4.1

sudo virsh qemu-monitor-command --hmp f18 "info balloon"
balloon: actual=2048

Not sure what the problem is...

- Cole




More information about the virt-tools-list mailing list