cpupower
CPU power management and tuning tools
TLDR
List all CPUs
$ sudo cpupower -c all info
Set power-saving governor for all CPUs$ sudo cpupower -c all frequency-set --governor powersave
Show available governors for CPU 0$ sudo cpupower -c 0 frequency-info -g | grep "analyzing\|governors"
Get CPU 4's hardware frequency$ sudo cpupower -c 4 frequency-info -w -m
SYNOPSIS
cpupower [-c cpus] subcommand [options]
DESCRIPTION
cpupower is a collection of tools for CPU power management and tuning. It replaces the older cpufrequtils package and provides unified access to frequency scaling, idle states, and power features.Subcommands include frequency-info, frequency-set, idle-info, idle-set, and monitor.
PARAMETERS
-c, --cpu cpus
Specify CPU(s) to operate on (e.g., 0, 1-3, all)frequency-info
Show current frequency settings.frequency-set
Modify frequency settings.idle-info
Show idle state information.idle-set
Enable/disable specific idle states.monitor
Report CPU frequency and idle residency statistics.info
Show kernel configuration and hardware information.-g, --governor
Set frequency governor (with frequency-set) or show available governors (with frequency-info).-u, --max FREQ
Set maximum frequency (requires frequency-set).-d, --min FREQ
Set minimum frequency (requires frequency-set).-f, --freq FREQ
Set exact frequency (requires userspace governor).-m, --human
Human-readable output.
CAVEATS
Requires root privileges for setting values. Available governors and features depend on hardware and kernel configuration. Replaces cpufreq-info and cpufreq-set.
SEE ALSO
cpufreq-info(1), cpufreq-set(1), turbostat(8)
