Linux command
cpufreq-aperf 命令
安全
May affect permissions or system state. Check the target first.
命令示例
Example
sudo cpufreq-aperf
Example
sudo cpufreq-aperf -c [1]
Example
sudo cpufreq-aperf -i [3]
Example
sudo cpufreq-aperf -o
说明
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.
参数
- -c, --cpu _cpu_
- Specific CPU to monitor
- -i, --interval _seconds_
- Refresh interval in seconds
- -o, --once
- Calculate once and exit
FAQ
What is the cpufreq-aperf command used for?
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.
How do I run a basic cpufreq-aperf example?
Run `sudo cpufreq-aperf` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -c, --cpu _cpu_ do in cpufreq-aperf?
Specific CPU to monitor