[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]