Displaying 2 results from an estimated 2 matches for "nr_stat".
Did you mean:
nr_stats
2014 Mar 12
4
Problem in getting memory statistics
...hich was suggested to me was
Domain.memoryStats();
This is a binding to int virDomainMemoryStats
(virDomainPtr<http://libvirt.org/html/libvirt-libvirt.html#virDomainPtr>dom,
virDomainMemoryStatPtr<http://libvirt.org/html/libvirt-libvirt.html#virDomainMemoryStatPtr>stats,
unsigned int nr_stats, unsigned int flags).
Problem is that it returns me just tags 0,6 and 7.
Looking at the documentation I see they are not what I am looking for...I
would rather need 4 (VIR_DOMAIN_MEMORY_STAT_UNUSED) and 5
(VIR_DOMAIN_MEMORY_STAT_AVAILABLE).
Is there a way to set them?
2014 Mar 15
0
Re: Problem in getting memory statistics
...was
> Domain.memoryStats();
>
> This is a binding to int virDomainMemoryStats (virDomainPtr<http://libvirt.org/html/libvirt-libvirt.html#virDomainPtr>dom,
> virDomainMemoryStatPtr<http://libvirt.org/html/libvirt-libvirt.html#virDomainMemoryStatPtr>stats,
> unsigned int nr_stats, unsigned int flags).
>
> Problem is that it returns me just tags 0,6 and 7.
> Looking at the documentation I see they are not what I am looking for...I
> would rather need 4 (VIR_DOMAIN_MEMORY_STAT_UNUSED) and 5
> (VIR_DOMAIN_MEMORY_STAT_AVAILABLE).
>
> Is there a way to set...