tldr/pages/linux/cpupower.md
Lena 0fddee2272
pages/*: reword descriptions to comply with the style guide (#11507)
* pages/*: reword descriptions to comply with the style guide

---------

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2023-11-15 09:55:25 +05:30

620 B

cpupower

Tools regarding CPU power and tuning options. More information: https://manned.org/cpupower.

  • List CPUs:

sudo cpupower --cpu {{all}} info

  • Print information about all cores:

sudo cpupower --cpu {{all}} info

  • Set all CPUs to a power-saving frequency governor:

sudo cpupower --cpu {{all}} frequency-set --governor {{powersave}}

  • Print CPU 0's available frequency [g]overnors:

sudo cpupower --cpu {{0}} frequency-info g | grep "analyzing\|governors"

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

sudo cpupower --cpu {{4}} frequency-info --hwfreq --human