LinuxCommandLibrary

cpupower

CPU power management and tuning tools

TLDR

List all CPUs

$ sudo cpupower -c all info
copy
Set power-saving governor for all CPUs
$ sudo cpupower -c all frequency-set --governor powersave
copy
Show available governors for CPU 0
$ sudo cpupower -c 0 frequency-info -g | grep "analyzing\|governors"
copy
Get CPU 4's hardware frequency
$ sudo cpupower -c 4 frequency-info -w -m
copy

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
monitor
Monitor CPU frequency and idle states
--governor gov
Set frequency 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

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community