A collection of Mac command line commands to measure cpu speed, throttling etc


« Back to overview

Use the Intel power gadget

The best I've seen to measure cpu metrics is the Intel Power gadget (though not a command line utility). It's from Intel so it's supposedly trustworthy.
See: https://software.intel.com/en-...


Command line tools

There are some ways to get metrics from the command line, though they do not offer the details and accuracy of the Intel power gadget.


Measure cpu thermal throttling
pmset -g therm

# sample output
# 2019-11-24 15:12:28 +0100 CPU Power notify
#	CPU_Scheduler_Limit 	= 100
#	CPU_Available_CPUs 	= 8
#	CPU_Speed_Limit 	= 100
Show nominal frequency (what manufacturer has stated)
sysctl hw.cpufrequency
# sample outout, 2.2 ghz processor
# hw.cpufrequency: 2200000000