cpufreq-info Command Examples in Linux

The cpufreq-info command is a utility in Linux that is used to display information about the CPU frequency scaling capabilities of a system. CPU frequency scaling is the process of adjusting the speed at which a CPU is able to process instructions in order to save energy or improve performance.

To display general information about the CPU frequency scaling capabilities of the system, use the following command:

# cpufreq-info

This will display information such as the current CPU frequency, the available frequency scales, and the current governor (the algorithm that is used to control the CPU frequency).

cpufrequtils Command Examples

1. Show CPU frequency information for all CPUs:

# cpufreq-info

2. Show CPU frequency information for the specified CPU:

# cpufreq-info -c cpu_number

3. Show the allowed minimum and maximum CPU frequency:

# cpufreq-info -l

4. Show the current minimum and maximum CPU frequency and policy in table format:

# cpufreq-info -o

5. Show available CPU frequency policies:

# cpufreq-info -g

6. Show current CPU work frequency in a human-readable format, according to the cpufreq kernel module:

# cpufreq-info -f -m

7. Show current CPU work frequency in a human-readable format, by reading it from hardware (only available to root):

# sudo cpufreq-info -w -m
Related Post