PowerCLI

 View Only
  • 1.  Get-Stats

    Posted Oct 02, 2014 01:15 PM

    Hello guys,

           I'm trying to get stats and I looking for the busy memory, but if I run command get-stat I see not have the stat mem.active.average, I only have mem.usage.average, but the values ​​that throws me are not real.

    Example:

    • mem.usage.average , I have 1% with -30 days and maxSamples 1000, but the VM is a windows server 2008 and has a base memory usage about 1.10G of 4G

    How this is possible if the operating system has occupied at least 25% of the total memory?.


    Thanks!!



  • 2.  RE: Get-Stats

    Posted Oct 02, 2014 01:37 PM

    The 2 metrics you are trying to use are collected at different Statistics Levels.

    mem.usage.average is Level 1 and mem.active.average is Level 2.

    See my PowerCLI & vSphere statistics – Part 1 – The basics post for some further info on this.

    I suspect you have not configured Statistics Level 2 for the interval you are looking at.

    You in fact want the mem.active.average counter, that should correspond better with what you expect.



  • 3.  RE: Get-Stats

    Posted Oct 02, 2014 01:44 PM

    Thank you !!!