想问下怎么用下图查出的这些属性计算cpu的利用率?在线等,急急急!!!
![2018-02-27_153551.png](https://static.studygolang.com/180227/7598a21b1391bb33076f44f6eca0212d.png)
更多评论
```golang
cmd := exec.Command("powershell.exe", "get-wmiobject", "-class", "Win32_PerfFormattedData_PerfOS_processor")
rs, e := cmd.Output()
fmt.Println(string(rs), e)
```
#1