cpufreq-aperf
Calculate the average CPU frequency over a time period. tldr-pages
On Linux
Linux
Start calculating, defaulting to all CPU cores and 1 second refresh interval
sudo cpufreq-aperfIdentifyStart calculating for CPU 1 only
sudo cpufreq-aperf --cpu 1IdentifyStart calculating with a 3 second refresh interval for all CPU cores
sudo cpufreq-aperf --interval 3IdentifyCalculate only once
sudo cpufreq-aperf --onceIdentify