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

Tadej Janež tadej.janez at www.hicsalta.si
Thu May 2 15:07:51 UTC 2013


On Thu, 2013-05-02 at 15:46 +0100, Daniel P. Berrange wrote: 
> 
> My bad, there's no 'Get' in the name:
> 
> http://libvirt.org/html/libvirt-libvirt.html#virDomainMemoryStats

Ok. Thanks for the pointer.

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}.

Here are the memory usage stats as seen by the guest itself
(via /proc/meminfo):
MemTotal: 1003316 kB
MemFree: 75424 kB
Buffers: 64764 kB
Cached: 407700 kB

Any ideas, how should I use the memoryStats() function to obtain some
usable info?

Tadej




More information about the virt-tools-list mailing list