• 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-aperf Command Examples in Linux

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.

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. mt Command Examples in Linux
  2. macchanger: command not found
  3. jhipster Command Examples
  4. pacman-key Command Examples
  5. smbget: command not found
  6. lorem Command Examples
  7. csvtool: Utility to filter and extract data from CSV formatted sources
  8. pacstall Command Examples
  9. hlint Command Examples in Linux
  10. sstat Command Examples in Linux

You May Also Like

Primary Sidebar

Recent Posts

  • Vanilla OS 2 Released: A New Era for Linux Enthusiasts
  • mk Command Examples
  • mixxx Command Examples
  • mix Command Examples

© 2025 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright