• 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

cpupower Command Examples in Linux

by Deepika

The cpupower command is a utility in Linux that is used to manage and configure the CPU frequency scaling settings 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 the current CPU frequency settings, use the following command:

# cpupower frequency-info

This will display information about the current CPU frequency scaling settings, including the current frequency, the available frequencies, and the current governor.

cpupower Command Examples

1. List CPUs:

# sudo cpupower --cpu all info

2. Print information about all cores:

# sudo cpupower --cpu all info

3. Set all CPUs to a power-saving frequency governor:

# sudo cpupower --cpu all frequency-set --governor powersave

4. Print CPU 0’s available frequency [g]overnors:

# sudo cpupower --cpu 0 frequency-info g | grep "analyzing\|governors"

5. Print CPU 4’s frequency from the hardware, in a human-readable format:

# sudo cpupower --cpu 4 frequency-info --hwfreq --human

Filed Under: Linux

Some more articles you might also be interested in …

  1. debsecan Command Examples in Linux
  2. How to Limit/throttle rsync transfer speed in Linux
  3. snapper Command Examples in Linux
  4. CentOS / RHEL : How to create new LVM based swap partition
  5. ispell Command Examples in Linux
  6. gs: command not found
  7. restorecon Command Examples in Linux
  8. CentOS / RHEL 6 : Install and Configure SNMPv3
  9. dunstify Command Examples in Linux
  10. How to Disable/Enable Numa for Virtual Machine (XEN based)

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