Simple interactive tool built around cpupower to manipulate CPU frequency governor from command line to help you get the best performance or battery life for your computer.
- Any Linux distribution.
linux-tools-generic
on debian/ubuntu based distros.kernel-tools
on RHEL based distros.
- clone this repo with
git clone https://github.com/driconrikus/freqselect.git
- Install dependencies, if needed.
For Debian/Ubuntu based distros:
sudo apt install linux-tools-generic
For RHEL based distrossudo dnf install kernel-tools
oryum install kernel-tools
- make the script executable if needed.
chmod +x freqselect.sh
- Run it!
./freqselect
- Optionally, you can move it (or softlink it) to
/usr/local/bin
if you want to have it available to all users.
- This script must be run as root.
- Persistence mode relies on systemd, it will not work on init based systems.