VMware Cloud Community
Pilu1978
Enthusiast
Enthusiast

network performance of the sx hosts


Hi,

I have a requirement to measure the performance of production nics of esx/esxi (3.5 and 4.1) hosts to check the current network workload on these esx\esxi hosts.

What is the best way to do it and how to accomplish this using powercli.

Please help.

0 Kudos
4 Replies
LucD
Leadership
Leadership

First you'll have to determine which counters you want to use.

You can look up the counters in the description of the PerformanceManager.

Or you can use the Performance tab in the vSphere client, and get the counter names from there.

Once you the counter you want, use the Get-Stat cmdlet to retrieve the metrics.


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

0 Kudos
Pilu1978
Enthusiast
Enthusiast

Hi LucD,

Thanks for your reply.

I can see net.usage.average is the only metric available for the 3.5 hosts to measure the network performance using get-stattype command.

How to use this metric to get the performance of the production nics only ( e.g. vmnic3, vmnic4, vmnic5, vmnic6) in powercli.

0 Kudos
LucD
Leadership
Leadership

The objects that are returned by Get-Stat contain a property called Instance.

In there you will find the vmnic names, so you can use a simple Where-clause to filter out the ones you want.


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

0 Kudos
Pilu1978
Enthusiast
Enthusiast

Thanks LucD. I will check and let you know.

0 Kudos