-
Notifications
You must be signed in to change notification settings - Fork 0
/
powertop-to-tmpfile.1
60 lines (60 loc) · 2.03 KB
/
powertop-to-tmpfile.1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3.
.TH POWERTOP-TO-TMPFILE "1" "April 2024" "powertop-to-tmpfile 0.1.0" "User Commands"
.SH NAME
powertop-to-tmpfile \- manual page for powertop-to-tmpfile 0.1.0
.SH SYNOPSIS
.B powertop-to-tmpfile
\fI\,<OPTION> \/\fR[\fI\,ARGS\/\fR]
.SH DESCRIPTION
Convert PowerTOP recommendations into a tmpfiles.d configuration file.
.SH OPTIONS
.TP
\fB\-\-auto\-tune\fR
Execute powertop to generate and apply the tmpfile `/etc/tmpfiles.d/powertop.conf`.
.TP
\fB\-\-csv\fR <FILENAME>
Convert <FILENAME> file into tmpfiles.d format and print it to stdout.
.TP
\fB\-h\fR, \fB\-\-help\fR
Print this help information.
.TP
\fB\-V\fR, \fB\-\-version\fR
Print version information.
.SH ENVIRONMENT
.TP
TMPFILE <FILENAME>
Overrides the target file for the `\-\-auto\-tune` option.
.TP
TMPFILE_ACTIVATE <0|1>
Overrides the execution of `systemd\-tmpfiles \fB\-\-create\fR` for the TMPFILE. The default is 1 (enabled).
.SH FILES
.TP
\fI\,/etc/tmpfiles.d/powertop.conf\/\fP
Default target file for the `\-\-auto\-tune` option.
.SH EXAMPLES
.TP
powertop\-to\-tmpfile \-\-csv powertop.csv >>powertop.conf
Convert a powertop.csv into the tmpfile powertop.conf.
.TP
sudo powertop\-to\-tmpfile \-\-auto\-tune
Automatically generate and activate the file `/etc/tmpfiles.d/powertop.conf`.
.SS "Perform the automatic steps manually:"
.TP
sudo powertop \-\-csv=powertop.csv
Collect the PowerTOP recommendations into file `powertop.csv`
.TP
powertop\-to\-tmpfile \-\-csv powertop.csv |sudo tee \-a /etc/tmpfiles.d/powertop.conf
Convert the powertop.csv to a tmpfile
.TP
sudo systemd\-tmpfiles \-\-create /etc/tmpfiles.d/powertop.conf
Activate the generated tmpfile
.SH AUTHOR
Written by Philipp Micheel.
.SH "REPORTING BUGS"
Report bugs to <https://github.com/bbx0/powertop\-to\-tmpfile/issues>.
.SH COPYRIGHT
Copyright \(co 2024 Philipp Micheel
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
.br
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.