101 lines
2.9 KiB
Groff
101 lines
2.9 KiB
Groff
|
.\" Man page generated from reStructuredText.
|
||
|
.
|
||
|
.
|
||
|
.nr rst2man-indent-level 0
|
||
|
.
|
||
|
.de1 rstReportMargin
|
||
|
\\$1 \\n[an-margin]
|
||
|
level \\n[rst2man-indent-level]
|
||
|
level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
||
|
-
|
||
|
\\n[rst2man-indent0]
|
||
|
\\n[rst2man-indent1]
|
||
|
\\n[rst2man-indent2]
|
||
|
..
|
||
|
.de1 INDENT
|
||
|
.\" .rstReportMargin pre:
|
||
|
. RS \\$1
|
||
|
. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
|
||
|
. nr rst2man-indent-level +1
|
||
|
.\" .rstReportMargin post:
|
||
|
..
|
||
|
.de UNINDENT
|
||
|
. RE
|
||
|
.\" indent \\n[an-margin]
|
||
|
.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
||
|
.nr rst2man-indent-level -1
|
||
|
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
||
|
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
|
||
|
..
|
||
|
.TH "freqcpu" "27" "Aug 27, 2024" "2024-08-27" "freqcpu"
|
||
|
.SH NAME
|
||
|
freqcpu \- limit CPU frequency
|
||
|
.SH SYNOPSIS
|
||
|
.sp
|
||
|
\fBfreqcpu -c \fP --> create initial configuration file
|
||
|
.sp
|
||
|
\fBfreqcpu -d \fP --> run daemon for set CPU frequency
|
||
|
.sp
|
||
|
\fBfreqcpu -r \fP --> set limit CPU frequency
|
||
|
.sp
|
||
|
\fBfreqcpu -f \fP --> show current CPU frequency
|
||
|
.sp
|
||
|
\fBfreqcpu -g \fP --> show current CPU governor
|
||
|
.sp
|
||
|
\fBfreqcpu -o \fP --> show CPU cores
|
||
|
.sp
|
||
|
\fBfreqcpu -h \fP --> show help
|
||
|
.sp
|
||
|
.SH CONFIGURATION
|
||
|
.sp
|
||
|
To create the initial configuration file, you must run the command: \fBfreqcpu -c \fP
|
||
|
.sp
|
||
|
Then edit the \fB/etc/freqcpu/freqcpu.conf\fP file to your own values.
|
||
|
.sp
|
||
|
.SH EXAMPLE CONFIGURATION FILE:
|
||
|
.sp
|
||
|
cores_cpu=16
|
||
|
.sp
|
||
|
freq_min=2000Mhz
|
||
|
.sp
|
||
|
freq_max=3600Mhz
|
||
|
.sp
|
||
|
governor=powersave
|
||
|
.sp
|
||
|
.SH BOOT WITH SYSTEM:
|
||
|
.sp
|
||
|
\fBsudo systemctl daemon-reload\fP
|
||
|
.sp
|
||
|
\fBsudo systemctl enable freqcpu\fP
|
||
|
.sp
|
||
|
.SH LICENSE
|
||
|
.sp
|
||
|
This program is free software; you can redistribute it and/or modify
|
||
|
it under the terms of the GNU General Public License as published by
|
||
|
the Free Software Foundation; either version 2 of the License, or
|
||
|
(at your option) any later version.
|
||
|
.sp
|
||
|
This program is distributed in the hope that it will be useful,
|
||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||
|
GNU General Public License for more details.
|
||
|
.sp
|
||
|
You should have received a copy of the GNU General Public License
|
||
|
along with this program; if not, write to the Free Software
|
||
|
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110\-1301 USA
|
||
|
.sp
|
||
|
In addition, as a special exception, the copyright holders give
|
||
|
permission to link the code of portions of this program with the
|
||
|
OpenSSL library under certain conditions as described in each
|
||
|
individual source file, and distribute linked combinations
|
||
|
including the two.
|
||
|
You must obey the GNU General Public License in all respects
|
||
|
for all of the code used other than OpenSSL. If you modify
|
||
|
file(s) with this exception, you may extend this exception to your
|
||
|
version of the file(s), but you are not obligated to do so. If you
|
||
|
do not wish to do so, delete this exception statement from your
|
||
|
version. If you delete this exception statement from all source
|
||
|
files in the program, then also delete it here.
|
||
|
.\" Generated by docutils manpage writer.
|
||
|
.
|