commands.sh

cpupower

linux

Tools regarding CPU power and tuning options.

More info →

Options (4)

-c, --cpuboolean

List CPUs

Example: sudo cpupower {{[-c|--cpu]}} {{all}} info
-g, --governorsboolean

Print CPU 0's available frequency governors

Example: sudo cpupower {{[-c|--cpu]}} {{0}} frequency-info {{[-g|--governors]}} | grep "analyzing\|governors"
-w, --hwfreqboolean

Print CPU 4's frequency from the hardware, in a human-readable format

Example: sudo cpupower {{[-c|--cpu]}} {{4}} frequency-info {{[-w|--hwfreq]}} {{[-m|--human]}}
-m, --humanboolean

Print CPU 4's frequency from the hardware, in a human-readable format

Example: sudo cpupower {{[-c|--cpu]}} {{4}} frequency-info {{[-w|--hwfreq]}} {{[-m|--human]}}

Examples (5)

List CPUs

sudo cpupower [-c|--cpu] all info

Print information about all cores

sudo cpupower [-c|--cpu] all info

Set all CPUs to a power-saving frequency governor

sudo cpupower [-c|--cpu] all frequency-set --governor powersave

Print CPU 0's available frequency governors

sudo cpupower [-c|--cpu] 0 frequency-info [-g|--governors] | grep "analyzing\|governors"

Print CPU 4's frequency from the hardware, in a human-readable format

sudo cpupower [-c|--cpu] 4 frequency-info [-w|--hwfreq] [-m|--human]
made by @shridhargupta | data from tldr-pages