cpupower
Tools regarding CPU power and tuning options. More information: <https://manned.org/cpupower>.
Install
- All systems
-
curl cmd.cat/cpupower.sh
- Debian
-
apt-get install linux-cpupower
- Ubuntu
-
apt-get install linux-cpupower
- Arch Linux
-
pacman -S cpupower
- Kali Linux
-
apt-get install linux-cpupower
- CentOS
-
yum install cpupowerutils
- Fedora
-
dnf install kernel-tools
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install linux-cpupower
- Raspbian
-
apt-get install linux-cpupower
- Dockerfile
- dockerfile.run/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
© tl;dr; authors and contributors