cpufreq-aperf(1)
β¨ cpufreq-aperf(1) β¨
okay bestie, welcome to cpufreq-aperf β it's a lil tool from the cpufrequtils crew and it does exactly one iconic thing: it figures out your CPU's average frequency over a time period. that's it. that's the whole vibe. π
πΈ NAME πΈ
cpufreq-aperf β calculates the average frequency over a time period β¨
π¦ SYNTAX π¦
cpufreq-aperf [options]
π DESCRIPTION π
so on the latest processors there are these two MSR registers, and they are the moment, fr fr:
- MPERF β this one increases with the maximum (P0) frequency while in C0
- APERF β this one increases with the current/actual frequency while in C0
and from that info? the average frequency over a time period gets calculated. that's literally what this tool does. no cap. π
a nice lil falloff feature beside the average frequency is the time a processor core remained in C0 (working state) or any CX (sleep state) processor sleep state during the measured time period. and the way we know that is iconic: MPERF only increases in C0 state. so if MPERF isn't moving, bestie, that core is napping. π΄β¨
π OPTIONS π
-c--cpu<CPU> β the <CPU> core to measure. default: all cores π-i--interval<seconds> β the refresh rate. default: 1 second β±οΈ-o--onceβ dips after one interval. one and done, periodt. π-h--helpβ prints all the available options so you can read them yourself π«Ά
β REMARKS β
bestie, heads up: the msr driver must be loaded for this command to work. no driver, no vibes. π
π AUTHORS π
Thomas Renninger <trenn@suse.de>
π SEE ALSO π
cpufreq-set(1), cpufreq-info(1)
mwah π this page was brought to you by Mattia Dongili, version 0.1 of cpufreq-aperf(1) β go check your cores, they're doing so good, slay π¦β¨π
π¦ where this page comes from
- debian bookworm: cpufrequtils 008-2 Β· GPL-2.0-only
- ubuntu jammy: cpufrequtils 008-2build1 Β· GPL-2.0-only
- ubuntu noble: cpufrequtils 008-2build2 Β· GPL-2.0-only
- ubuntu resolute: cpufrequtils 008-2build3 Β· GPL-2.0-only
- ubuntu stonking: cpufrequtils 008-2ubuntu1 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms