cmd:
typeperf -q "Network Interface"
typeperf -si 1 -sc 1 "\Network Interface(*)\Bytes Total/sec"
powershell:
((Get-Counter -Counter "\Network Interface(*)\Bytes total/sec" -SampleInterval 1 -MaxSamples 1 ).CounterSamples|%{$_.CookedValue}|sort|select -last 1) / 1KB
标签:none
非常有用,感谢分享