JOJO2009
Contributor
Contributor

How to get the throughput of each hard disk of a vSAN virtual machine?

JOJO2009_0-1699416204392.png

 

Reply
0 Kudos
LucD
Leadership
Leadership

You can get all the available metrics through the Get-Stat cmdlet.
With Get-StatType you can find all available metrics for an entity in a specific interval.



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

Reply
0 Kudos
JOJO2009
Contributor
Contributor

Get-Stat -Entity $vm -Disk

Get-Stat The metric counter "disk.write.average" doesn't exist for entity "vm-test".

Get-Stat The metric counter "disk.read.average" doesn't exist for entity "vm-test".

Get-Stat The metric counter "disk.write.average" doesn't exist for entity "vm-test".

Reply
0 Kudos
LucD
Leadership
Leadership

Those metrics require statistics level 2, is that configured on your VCSA?
Or are you querying Realtime statistics? Did you add that switch?
With just copying the error message there isn't a lot I can help with


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

Reply
0 Kudos