← 返回命令列表

Linux command

cpufreq-aperf 命令

安全

权限或系统影响较大,执行前请核对目标。

常用示例

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