README.md
This commit is contained in:
parent
274f67c83e
commit
293019309a
59
README.md
Normal file
59
README.md
Normal file
|
@ -0,0 +1,59 @@
|
|||
`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
|
||||
|
Loading…
Reference in New Issue
Block a user