Command line performance monitor
typeperf
- C:\Windows\system32\typeperf.exe /?
Output:
Microsoft r TypePerf.exe (10.0.19041.1741)
Typeperf writes performance data to the command window or to a log file. To
stop Typeperf, press CTRL+C.
Usage:
C:\Windows\system32\typeperf.exe { <counter [counter ...]>
| -cf <filename>
| -q [object]
| -qx [object]
} [options]
Parameters:
<counter [counter ...]> Performance counters to monitor.
Options:
-? Displays context sensitive help.
-f <CSV|TSV|BIN|SQL> Output file format. Default is CSV.
-cf <filename> File containing performance counters to
monitor, one per line.
-si <[[hh:]mm:]ss> Time between samples. Default is 1 second.
-o <filename> Path of output file or SQL database. Default
is STDOUT.
-q [object] List installed counters (no instances). To
list counters for one object, include the
object name, such as Processor.
-qx [object] List installed counters with instances. To
list counters for one object, include the
object name, such as Processor.
-sc <samples> Number of samples to collect. Default is to
sample until CTRL+C.
-config <filename> Settings file containing command options.
-s <computer_name> Server to monitor if no server is specified
in the counter path.
-y Answer yes to all questions without prompting.
Note:
Counter is the full name of a performance counter in
"\\<Computer>\<Object>(<Instance>)\<Counter>" format,
such as "\\Server1\Processor(0)\% User Time".
Examples:
typeperf "\Processor(_Total)\% Processor Time"
typeperf -cf counters.txt -si 5 -sc 50 -f TSV -o domain2.tsv
typeperf -qx PhysicalDisk -o counters.txt
Return Code: 0
C:\Windows\system32\typeperf.exe
c:\>ver
Microsoft Windows [Version 10.0.19045.2075]
| File | Info |
|---|---|
| File Size | 49664bytes |
| Creation Time | 2022/07/08 08:48:55 |
| LastWrite Time | 2022/07/08 08:48:55 |
| ProductVersion | 10.0.19041.1 |
| FileVersion | 10.0.19041.1 (WinBuild.160101.0800) |
| Hash | Value |
|---|---|
| MD5 | 82f163348c344e3687e0ea5d821d74cb |
| SHA1 | 1d89d2309518463184384de449cf3c10d732ec70 |
| SHA224 | bf99b2636cbbb0d4684710ccfad492b7469befdf3d4c433014921be0 |
| SHA256 | 107b3aaa264931b85331795a87665dcfa0cc78d94578270270f326292e0147a6 |
| SHA384 | 4a901ebf8b0f0e3778ccbd5939a9bc7d60f2769cf07b88d3febb8ae0c1f6a312c760bbb9b05a70019b2206c54b71e970 |
| SHA512 | 3d0fa03068077f98735720d9a2541ece95ae57b6b4d257ae708da268111b7d6d1f3c90ba1b61770d48228650eeca0abe742ca78f422ec7d7fdc8ca22d13697f6 |