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

Re: [libvirt] [RFC] New libvirt API for domain memory statistics reporting



On Wed, Dec 9, 2009 at 9:41 AM, Matthias Bolte
<matthias bolte googlemail com> wrote:
>
> Some general comments:
>
> - You should name it virDomainMemoryStats to stay in sync with the
> naming scheme.
>
> - The struct members are an exact copy of that what virtio provides,
> maybe we should see what different hypervisors can provide, discuss
> what the useful parts are and define a general superset. For example
> VMware ESX provides more/other memory statistics:
> http://www.vmware.com/support/developer/vc-sdk/visdk400pubs/ReferenceGuide/memory_counters.html

Yes, in LXC case, we will get such memory statistics via cgroup.memory
and they are like:

cache 2375860224
rss 57614336
mapped_file 3731456
pgpgin 131483871
pgpgout 130889761
swap 32768
inactive_anon 32731136
active_anon 24948736
inactive_file 1878589440
active_file 497172480
unevictable 0
...

  ozaki-r


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