cpupower(1)
Display and modify CPU power-related settings and frequencies on Linux systems.
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
| Flag | What it does |
|---|---|
-c, --cpu=CPU | Operate on a specific CPU or list of CPUs (e.g., 0, 0-3) |
-d, --debug | Enable debug output for detailed information |
-h, --help | Display help message and exit |
-v, --version | Show version information |
-a, --all | Operate on all CPUs available on the system |
Examples
Display current frequency scaling information for all CPUs
cpupower frequency-infoShow frequency scaling details for CPU 0 only
cpupower -c 0 frequency-infoChange the scaling governor to 'powersave' mode on all CPUs
cpupower frequency-set -g powersaveSet maximum frequency to 1.5GHz for CPUs 0 and 2
cpupower frequency-set -c 0,2 -d 1.5GHzDisplay information about CPU idle states (C-states)
cpupower idle-infoSet maximum frequency (upper limit) to 3.8GHz for CPU 0
cpupower -c 0 frequency-set -u 3.8GHzShow current policy and limits for the default scaling governor
cpupower frequency-info -pDisplay power cap and thermal design power information
cpupower powercap-info