Re: [libvirt] virDomainMemoryStats call

2012-08-09 Thread Eric Blake
On 08/09/2012 11:13 AM, Parakkal, Navin S wrote: > Hi, >Is the array mstats returned by virDomainMemoryStats call cummulative > or snapshot of the counter at that particular time ? I was of the opinion > that is cummulative like the /proc counters but this counter seems to go > backwards

[libvirt] virDomainMemoryStats call

2012-08-09 Thread Parakkal, Navin S
Hi, Is the array mstats returned by virDomainMemoryStats call cummulative or snapshot of the counter at that particular time ? I was of the opinion that is cummulative like the /proc counters but this counter seems to go backwards ie next snapshot value is less than the current one which

Re: [libvirt] virDomainMemoryStats call

2012-07-18 Thread Osier Yang
On 2012年07月18日 17:34, Navin P wrote: +++ Osier Yang [18/07/12 16:13 +0800]: On 2012年07月18日 15:00, Parakkal, Navin S wrote: Hi, I’m using the API virDomainMemoryStats to fetch memory stats for a domain/guest on Fedora 16/RHEL 6.3 . I don’t get these counters filled up VIR_DOMAIN_MEMORY_STAT_UN

Re: [libvirt] virDomainMemoryStats call

2012-07-18 Thread Navin P
+++ Osier Yang [18/07/12 16:13 +0800]: >On 2012年07月18日 15:00, Parakkal, Navin S wrote: >>Hi, >> >>I’m using the API virDomainMemoryStats to fetch memory stats for a >>domain/guest on Fedora 16/RHEL 6.3 . I don’t get these counters filled up >> >>VIR_DOMAIN_MEMORY_STAT_UNUSED, >>VIR_DOMAIN_MEMORY_ST

Re: [libvirt] virDomainMemoryStats call

2012-07-18 Thread Osier Yang
On 2012年07月18日 15:00, Parakkal, Navin S wrote: Hi, I’m using the API virDomainMemoryStats to fetch memory stats for a domain/guest on Fedora 16/RHEL 6.3 . I don’t get these counters filled up VIR_DOMAIN_MEMORY_STAT_UNUSED, VIR_DOMAIN_MEMORY_STAT_ACTUAL_BALLOON,VIR_DOMAIN_MEMORY_STAT_AVAILABLE ,

[libvirt] virDomainMemoryStats call

2012-07-18 Thread Parakkal, Navin S
Hi, I'm using the API virDomainMemoryStats to fetch memory stats for a domain/guest on Fedora 16/RHEL 6.3 . I don't get these counters filled up VIR_DOMAIN_MEMORY_STAT_UNUSED, VIR_DOMAIN_MEMORY_STAT_ACTUAL_BALLOON,VIR_DOMAIN_MEMORY_STAT_AVAILABLE , VIR_DOMAIN_MEMORY_STAT_MAJOR_FAULT and VIR_DOM