windows CPU性能监控命令
分别为用户CPU时间 系统CPU时间 总CPU时间
typeperf "\Processor(_Total)\% User Time" "\Processor(_Total)\% Privileged Time" "\Processor(_Total)\% Processor Time"
Microsoft Windows [版本 6.1.7601]
版权所有 (c) 2009 Microsoft Corporation。保留所有权利。
C:\Users\pc>typeperf "\Processor(_Total)\% User Time" "\Processor(_Total)\% Priv
ileged Time" "\Processor(_Total)\% Processor Time"
"(PDH-CSV 4.0)","\\PC-PC\Processor(_Total)\% User Time","\\PC-PC\Processor(_Tota
l)\% Privileged Time","\\PC-PC\Processor(_Total)\% Processor Time"
"09/17/2020 08:03:19.778","0.000000","3.506313","4.550309"
"09/17/2020 08:03:20.780","1.558362","6.623038","8.056613"
"09/17/2020 08:03:21.782","2.332877","5.443397","8.239957"
"09/17/2020 08:03:22.784","1.947960","4.285489","4.939897"
"09/17/2020 08:03:23.786","3.110510","4.276954","8.239948"
"09/17/2020 08:03:24.788","4.285489","5.064675","8.835798"
"09/17/2020 08:03:25.789","1.946016","5.059631","7.369978"
"09/17/2020 08:03:26.791","4.285489","11.298124","16.238022"
"09/17/2020 08:03:27.792","1.558362","5.064676","4.939888"
"09/17/2020 08:03:28.798","2.710888","6.196309","10.153521"
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/typeperf