cpufreq-info: command not found

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).

If you encounter the below error while running the command cpufreq-info:

cpufreq-info: command not found

you may try installing the below package as per your choice of distribution:

Distribution Command
Debian apt-get install cpufrequtils
Ubuntu apt-get install cpufrequtils
Alpine apk add cpufrequtils
Kali Linux apt-get install cpufrequtils
CentOS yum install cpufrequtils
Raspbian apt-get install cpufrequtils

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