Limit CPU frequency
Go to file
2024-08-27 15:46:52 +02:00
freqcpu freqcpu 2024-08-27 15:46:19 +02:00
freqcpu.1 Man file for freqcpu 2024-08-27 15:46:32 +02:00
freqcpu.service systemD file freqcpu 2024-08-27 15:46:52 +02:00
LICENSE.txt LICENSE (GPLv2) 2024-08-27 15:45:55 +02:00
README.md README.md 2024-08-27 15:46:09 +02:00

freqcpu - limit CPU frequency

Syntax:

freqcpu -c  --> create initial configuration file
freqcpu -d  --> run daemon for set CPU frequency
freqcpu -r  --> set limit CPU frequency
freqcpu -f  --> show current CPU frequency
freqcpu -g  --> show current CPU governor
freqcpu -o  --> show CPU cores
freqcpu -h  --> show help

Configuration:

To create the initial configuration file, you must run the command:

freqcpu -c

Then edit the /etc/freqcpu/freqcpu.conf file to your own values.

Example configuration file:

cores_cpu=16 freq_min=2000Mhz freq_max=3600Mhz governor=powersave

Boot with system:

sudo systemctl daemon-reload
sudo systemctl enable freqcpu

How to install:

git clone https://git.q3aql.dev/q3aql/freqcpu
cd freqcpu
sudo make install

How to uninstall:

git clone https://git.q3aql.dev/q3aql/freqcpu
cd freqcpu
sudo make uninstall 

Dependencies

  • bash
  • cpufrequtils
  • watch