【发布时间】:2012-03-19 20:44:41
【问题描述】:
要使用WMI 返回CPU 使用率,是否返回PercentProcessorTime from Win32_PerfFormattedData_PerfOS_Processor?
如果没有,我应该看哪门课?谢谢。
【问题讨论】:
-
试试看here at this question。它应该回答你的问题
-
是的,Win32_PerfFormattedData_PerfOS_Processor WMI 类是获取 CPU 使用率的正确方法。