Home

Performance Monitor command

Query the counters

Typeperfqx memory

Typeperfqx processor –o perf.txt

Edit the perf.txt with the necessary counters

Save the performance data to a csv file

typeperf -cf perf.txt -o perf.csv -f csv

The above monitoring process will not stop until you press CTRL+C. The sampling interval is 1 second.

How about sampling interval 15 seconds and stopping the sampling process after 200 samples?

typeperf -cf perf.txt -o perf.csv -f csv -si 15 -sc 200

Read the trace log file (.etl)

tracerpt DataCollector01.etl