• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • VCS
  • Interview Questions
  • Database
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

cpufreq-info: command not found

by Deepika

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

Filed Under: Linux

Some more articles you might also be interested in …

  1. Linux OS Service ‘named’
  2. db_load command – generate db database
  3. How to Configure a Fiber-Channel Over Ethernet (FCoE) Interface in CentOS/RHEL
  4. “az version” Command Examples (Shows the current version of Azure CLI modules and extensions)
  5. netcat Command Examples in Linux
  6. g++: Compiles C++ source files
  7. clear: Clears the screen of the terminal (Command Examples)
  8. Secure Shell: Chrome Web Browser ssh client
  9. CentOS / RHEL 5 : How to use the faillog command to track failed login attempts
  10. bat: command not found

You May Also Like

Primary Sidebar

Recent Posts

  • gml2gv Command Examples
  • glow Command Examples
  • glib-compile-resources Command Examples
  • glances Command Examples

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright