• 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-aperf: command not found

by Deepika

The cpufreq-aperf command is a utility in Linux that is used to display the current performance state of a CPU, as well as the maximum and minimum performance states that are supported by the CPU. The performance state of a CPU is also known as its “frequency”, which refers to the speed at which the CPU is able to process instructions.

To display the performance state of all CPUs, use the following command:

# cpufreq-aperf

This will display the performance state of all CPUs in the system.

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

cpufreq-aperf: 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

cpufreq-aperf Command Examples

1. Start calculating, defaulting to all CPU cores and 1 second refresh interval:

# sudo cpufreq-aperf

2. Start calculating for CPU 1 only:

# sudo cpufreq-aperf -c 1

3. Start calculating with a 3 second refresh interval for all CPU cores:

# sudo cpufreq-aperf -i 3

4. Calculate only once:

# sudo cpufreq-aperf -o

Filed Under: Linux

Some more articles you might also be interested in …

  1. repquota Command Examples in Linux
  2. parted: command not found
  3. qemu-system-x86_64: command not found
  4. How to uninstall chromium-browser from Ubuntu
  5. cpufreq-set : command not found
  6. findfs: command not found
  7. How to Capture More Logs in /var/log/dmesg for CentOS/RHEL
  8. Features of the “Btrfs” Filesystem
  9. How To Create/Remove and Mount a Stratis Filesystem in CentOS/RHEL 8
  10. lsscsi: command not found

You May Also Like

Primary Sidebar

Recent Posts

  • powertop Command Examples in Linux
  • powertop: command not found
  • powerstat: command not found
  • powerstat Command Examples in Linux

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright