Quantcast
Viewing all articles
Browse latest Browse all 230200

Re: [Script / Code sample Request] Get Total Network throughput for given set of ESXi hosts or pNICs

It depends..... always.

 

I think for my purposes, for each 30min dataset I'll calculate the following:
1) Totals: ForEach 20sec interval: Sum all Nic0 TX, Sum all Nic1 TX, Sum all Nic0 RX, Sum all Nic1 RX
2) The max and average of the Totals dataset, for Nic0/1 TX/RX

3) Each Host: MaxNic0TX, MaxNic0RX, AvgNic0TX, AvgNic0RX, MaxNic1TX, MaxNic1RX, AvgNic1TX, AvgNic1RX,

 

For what I'm trying to achieve (justify, or not) some level of uplink overallocation at the chassis boundaries.... that should suffice.

 

End of the day.... all that traffic has to be going somewhere and there's only a few upstream place it could be going, the rest will be inter-blade.... which I'm less concerned about. SO something quick and dirty like this will be good enough to indicate if I'm in the right ballpark or not.... I'd be really surprised to see some 100+ gbit peaks, but stranger things have happened.

 

Anywho, I've hacked together a few samples I've worked with in the past, and one of yours (Get the maximum IOPS | LucD notes)... but now I'm a bit lost in working with the PSObject. Any chance you could point me in the right direction? Perhaps there's a cleaner way to do that.


Viewing all articles
Browse latest Browse all 230200

Trending Articles