VMware Cloud Community
pizzim13
Contributor
Contributor
Jump to solution

Get-Stat & weighted mean

When I run

Get-ResourcePool -name "RSNAME" | Get-Stat -Stat mem.consumed.average

is Powercli returning a weighted mean (Weighted arithmetic mean - Wikipedia, the free encyclopedia)? Or do I need to take in account that a vm may not have data points for each interval, i.e the vm didn't exist at that time?

0 Kudos
1 Solution

Accepted Solutions
LucD
Leadership
Leadership
Jump to solution

It is returning a weighted mean.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

View solution in original post

0 Kudos
2 Replies
LucD
Leadership
Leadership
Jump to solution

It is returning a weighted mean.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos
LucD
Leadership
Leadership
Jump to solution

Just to avoid all misunderstandings, the weighted average is not done by the Get-Stat cmdlet.

But that is done by the PerformanceManager.

The Get-Stat cmdlet obtains the statistical data by calling a method of the PerformanceManager.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos