System Info & Diagnostics

typeperf

Write performance counter data to the console or a log file.

typeperf "\Processor(_Total)\% Processor Time"

-sc sample count · -o output file

Practice line — try it from memory, then reveal

typeperf "\Processor(_Total)\% Processor Time" -sc 3