wmi获取cpu利用率问题,求大神来指点,万分感谢!!

liyang010813 · · 1040 次点击
兄弟 ,所答非所问啊,我想问查出来这些属性以后怎么计算**cpu占用率**
#2
更多评论
```golang cmd := exec.Command("powershell.exe", "get-wmiobject", "-class", "Win32_PerfFormattedData_PerfOS_processor") rs, e := cmd.Output() fmt.Println(string(rs), e) ```
#1