我想写一个脚本去监控机器的CPU、网络、磁盘、内存利用率(如图),想从性能计数器去获取数据,但不到应该取哪些计数器值,怎么计算?
Hi zlwantchuan,
建议你可以参考微软文档中Performance counters 的值。
https://gallery.technet.microsoft.com/scriptcenter/PowerShell-Perfmon-0f013da8
另外更多关于对于脚本的问题, 建议你可以去我们scripts forum.
https://social.technet.microsoft.com/Forums/scriptcenter/en-US/home?forum=ITCG
谢谢你的支持和理解.
Best Regards,
Mary
Please remember to mark the replies as answers if they help. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.