Hi all
I would like to know if there are any way to get nic card(NetworkAdapterImpl object) transmit rate/receive rate statistical data of virtual machine via get-stat cmd-lets?
Regards
Danny
I decided to do a blog post on this.
See vNIC transmit and receive rates
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Is this what you are looking for ?
Get-VM vmname | Get-stat | where {$_.Metricid -match "net.usage.average"}
Yes, you can use the Network metrics
There's a sample in How to get a total network transmit and receive in 7 days?
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Hi vmdkness/LucD
Thanks for your reply, I have read "How to get a total network transmit and receive in 7 days" post before, I know this script can generate average usage of All NIC card that VMs has, but i would like to get the individual NIC card transmit/receive usage over a period of time.
How can I do that via PowerCLI?
Thanks
Danny
I decided to do a blog post on this.
See vNIC transmit and receive rates
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Dear LucD
Great post! you are No.1 PowerCLI expert! That all what i want
Thanks