$linuxjunkies
>

cpupower(1)

Display and modify CPU power-related settings and frequencies on Linux systems.

UbuntuDebianFedoraArch

Synopsis

cpupower [OPTION] SUBCOMMAND [ARGS]

Description

cpupower is a collection of tools for CPU frequency and power management. It allows users to view and adjust CPU scaling governors, frequencies, turbo boost, and idle states. The command requires root privileges for most modification operations.

Common subcommands include frequency-info to display current CPU frequencies, frequency-set to change scaling governors and frequencies, idle-info to show C-state information, and powercap to manage power limits on modern CPUs.

Common options

FlagWhat it does
-c, --cpu=CPUOperate on a specific CPU or list of CPUs (e.g., 0, 0-3)
-d, --debugEnable debug output for detailed information
-h, --helpDisplay help message and exit
-v, --versionShow version information
-a, --allOperate on all CPUs available on the system

Examples

Display current frequency scaling information for all CPUs

cpupower frequency-info

Show frequency scaling details for CPU 0 only

cpupower -c 0 frequency-info

Change the scaling governor to 'powersave' mode on all CPUs

cpupower frequency-set -g powersave

Set maximum frequency to 1.5GHz for CPUs 0 and 2

cpupower frequency-set -c 0,2 -d 1.5GHz

Display information about CPU idle states (C-states)

cpupower idle-info

Set maximum frequency (upper limit) to 3.8GHz for CPU 0

cpupower -c 0 frequency-set -u 3.8GHz

Show current policy and limits for the default scaling governor

cpupower frequency-info -p

Display power cap and thermal design power information

cpupower powercap-info

Related commands