I have a need to gather performance data from my clusters.
I can gather cpu.usagemhz.average & mem.usage.average just fine.
What I can not do is gather the cpu.usage.min ,cpu.usage.max , mem.usage.min & mem.usage.max for the clusters.
In the VI-Tookit Cmdlet Reference is shows the "cpu.usage.min" in the detailed descriptions. So I assume this is possible.
Can anyone provide me a sample of how to gather these min/max metrics?
The min/max metrics require at least Statistics Level 3.
Do you have at least one of the four historical intervals set with at least level 3 ?
If yes, you can get the min/max metrics for that specific interval with the Get-Stat cmdlet.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
The min/max metrics require at least Statistics Level 3.
Do you have at least one of the four historical intervals set with at least level 3 ?
If yes, you can get the min/max metrics for that specific interval with the Get-Stat cmdlet.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
That's the issue. I was thinking since I can see this data in the VIC that I could pull it with the VI-Tookit.
In which interval can you see min/max metrics in the VIC ?
Real-time (which is not a historical interval and has all metrics), Past Day, Past Week, Past Month or Past Year ?
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Ok, I understand.
We were talking about 2 different things here.
1) there are metrics that have a min or max extension. For example cpu.usage.min.
This returns the actual minimim or maximum value the cpu usage reached during the interval.
2) for a specific metric (cpu.usagemhz.average in your screenshot) you can list the minimum and maximum value the average metric had over a series of values.
This is something you could do by piping the Get-Stat results (of cpu.usagemhz.average) to the Measure-Object cmdlet and ask for the -Minimum and -Maximum values of the series.
Do you see the difference ?
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference