Hızlı yanıt: kod örneği
I think you are looking for typeperf. It should work for:will log the processor time until you hit Ctrl-C. Adding will report 5
instances:Here is example for disk activity, total bytes per second:Windows Performance Monitor Disk Counters Explained
- Windows Server 2003 - 2016
- Windows 10
- Windows 7
- Windows Vista
- Windows XP
typeperf "\Processor(_Total)\% Processor Time"
-sc 5
typeperf -sc 5 "\Processor(_Total)\% Processor Time"
typeperf -si 2 "\LogicalDisk(_Total)\Disk Bytes/sec"