cpufreq-aperf
TLDR
Start calculating for all CPUs with 1 second interval
$ sudo cpufreq-aperf
Calculate for specific CPU$ sudo cpufreq-aperf -c [1]
Set refresh interval to 3 seconds$ sudo cpufreq-aperf -i [3]
Calculate only once$ sudo cpufreq-aperf -o
SYNOPSIS
cpufreq-aperf [options]
DESCRIPTION
cpufreq-aperf calculates the average CPU frequency over a time period using APERF/MPERF MSR registers. This provides actual operating frequency rather than the requested frequency.
Useful for verifying CPU frequency scaling and turbo boost behavior.
PARAMETERS
-c, --cpu cpu
Specific CPU to monitor-i, --interval seconds
Refresh interval in seconds-o, --once
Calculate once and exit
CAVEATS
Requires root privileges. Only works on CPUs that support APERF/MPERF counters (Intel and AMD processors). Part of cpufrequtils.
SEE ALSO
cpufreq-info(1), cpufreq-set(1), cpupower(1)


