Linux command
cpufreq-info 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Example
cpufreq-info
Example
cpufreq-info -c 0
Example
cpufreq-info -l
Example
cpufreq-info -o
Example
cpufreq-info -g
Example
cpufreq-info -f -m
Example
sudo cpufreq-info -w -m
Example
cpufreq-info -d
说明
cpufreq-info is a utility that prints CPU frequency scaling information from the kernel. It shows current frequencies, available governors, hardware limits, and other cpufreq-related data.
参数
- -c, --cpu CPU
- Target a specific processor number
- -f, --freq
- Display current CPU frequency as reported by kernel
- -w, --hwfreq
- Read current frequency directly from hardware (root only)
- -l, --hwlimits
- Show minimum and maximum hardware frequency limits
- -d, --driver
- Show the active cpufreq kernel driver
- -p, --policy
- Display the current frequency scaling policy
- -g, --governors
- List available frequency governors
- -a, --related-cpus
- Show CPUs sharing the same hardware frequency
- -s, --stats
- Display frequency scaling statistics
- -y, --latency
- Show maximum latency for frequency transitions
- -o, --proc
- Display settings in /proc/cpufreq format
- -m, --human
- Format output in human-readable form (for -f, -w, -s, -y)
FAQ
What is the cpufreq-info command used for?
cpufreq-info is a utility that prints CPU frequency scaling information from the kernel. It shows current frequencies, available governors, hardware limits, and other cpufreq-related data.
How do I run a basic cpufreq-info example?
Run `cpufreq-info` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -c, --cpu CPU do in cpufreq-info?
Target a specific processor number