typeperf.exe
writes data from Performance Counters to stdout or to a log file (CSV, TSV (aka Tab-delimited file TDF), BIN (= BLG?) (and SQL?) -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 is pressed. |
-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. |
-? | Displays context sensitive help. |
typeperf "\memory\Available Bytes" -si 10 … "07/06/2021 10:07:08.801","2133475328.000000" "07/06/2021 10:07:18.803","1981624320.000000" "07/06/2021 10:07:28.806","2057383936.000000" "07/06/2021 10:07:38.809","2153164800.000000" "07/06/2021 10:07:48.812","2082856960.000000"
typeperf -q
typeperf -qx "Battery Status" typeperf -qx Memory