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

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • 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. autopkgtest Command Examples in Ubuntu
  2. How to disable firewalld and and switch to iptables in CentOS / RHEL 7
  3. CentOS / RHEL : How to allow or deny Users to login to VSFTP Server
  4. pacstrap: command not found
  5. How to Enable Remote Desktop to Share the Current Desktop Session in CentOS/RHEL 7
  6. lspci: command not found
  7. getfacl: command not found
  8. SSSD Service Failing with “SSSD is already running” in CentOS/RHEL 7
  9. swupd Command Examples in Linux
  10. rofi: command not found

You May Also Like

Primary Sidebar

Recent Posts

  • diffstat: Create a histogram from the output of the diff command
  • diffoscope: Compare files, archives, and directories
  • diff-pdf: Tool for comparing two PDFs
  • dict: Command line dictionary using the DICT protocol

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright