VMware Cloud Community
jeffj2000
Enthusiast
Enthusiast
Jump to solution

Question on getting VM stats

Hi. I have always had issues with stats in PowerCLI and understanding them. Could someone point me to a page or tutorial where I can learn how to do something like. For example.

Get-Stat -Entity myvm -Realtime -Stat 'disk.numberRead.summation' | select value

I am trying to write something which would return any VM that say has this stat above 5,000 for 24hr or 48hr or some interval. I get confused how to use the intervals and round ups. This command will help us try go find some hung boxes. I just don't know how to use it properly. It is easy to see this in the VCSA7 advanced monitoring for a VM and eyeball it back a couple of days. Thanks,,,

 

Reply
0 Kudos
1 Solution

Accepted Solutions
LucD
Leadership
Leadership
Jump to solution

I wrote some blog posts that handle the basics, see my PowerCLI & vSphere Statistics series.


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

View solution in original post

Reply
0 Kudos
2 Replies
LucD
Leadership
Leadership
Jump to solution

I wrote some blog posts that handle the basics, see my PowerCLI & vSphere Statistics series.


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

Reply
0 Kudos
jeffj2000
Enthusiast
Enthusiast
Jump to solution

Hi. Thank you very much! Thanks,,,

Reply
0 Kudos