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

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

 



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

_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list




[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux