CmdID

CmdID / Commands

powermetrics

Gather and display CPU usage, power, and interrupt wakeup statistics. tldr-pages

On macOS

Opens CmdID with your command. It is read in your browser and sent nowhere.

Display CPU, power, and wakeup metrics using the default 5-second sample interval

sudo powermetricsIdentify

Sample metrics every 2000 milliseconds taking 10 samples then exit

sudo powermetrics --sample-rate 2000 --sample-count 10Identify

Save output to a file instead of stdout

sudo powermetrics --output-file path/to/output.txtIdentify

Order the process list by the specified method (default: composite)

sudo powermetrics --order pidIdentify

Display output in machine-readable property list format and print a usage summary on exit

sudo powermetrics --format plist --show-usage-summaryIdentify