]>
Commit | Line | Data |
---|---|---|
14228c0d | 1 | '\" t |
e735f4d4 | 2 | .TH "BOOTCHART\&.CONF" "5" "" "systemd 219" "bootchart.conf" |
14228c0d MB |
3 | .\" ----------------------------------------------------------------- |
4 | .\" * Define some portability stuff | |
5 | .\" ----------------------------------------------------------------- | |
6 | .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
7 | .\" http://bugs.debian.org/507673 | |
8 | .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html | |
9 | .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
10 | .ie \n(.g .ds Aq \(aq | |
11 | .el .ds Aq ' | |
12 | .\" ----------------------------------------------------------------- | |
13 | .\" * set default formatting | |
14 | .\" ----------------------------------------------------------------- | |
15 | .\" disable hyphenation | |
16 | .nh | |
17 | .\" disable justification (adjust text to left margin only) | |
18 | .ad l | |
19 | .\" ----------------------------------------------------------------- | |
20 | .\" * MAIN CONTENT STARTS HERE * | |
21 | .\" ----------------------------------------------------------------- | |
22 | .SH "NAME" | |
f47781d8 | 23 | bootchart.conf, bootchart.conf.d \- Boot performance analysis graphing tool configuration files |
14228c0d MB |
24 | .SH "SYNOPSIS" |
25 | .PP | |
26 | /etc/systemd/bootchart\&.conf | |
f47781d8 MP |
27 | .PP |
28 | /etc/systemd/bootchart\&.conf\&.d/*\&.conf | |
29 | .PP | |
30 | /run/systemd/bootchart\&.conf\&.d/*\&.conf | |
31 | .PP | |
32 | /usr/lib/systemd/bootchart\&.conf\&.d/*\&.conf | |
14228c0d MB |
33 | .SH "DESCRIPTION" |
34 | .PP | |
35 | When starting, systemd\-bootchart will read the configuration file | |
f47781d8 MP |
36 | /etc/systemd/bootchart\&.conf, followed by the files in the |
37 | bootchart\&.conf\&.d | |
38 | directories\&. These configuration files determine logging parameters and graph output\&. | |
39 | .SH "CONFIGURATION DIRECTORIES AND PRECEDENCE" | |
40 | .PP | |
41 | Configuration files are read from directories in | |
42 | /etc/, | |
43 | /run/, and | |
44 | /usr/lib/, in order of precedence\&. Each configuration file in these configuration directories shall be named in the style of | |
45 | \fIfilename\fR\&.conf\&. Files in | |
46 | /etc/ | |
47 | override files with the same name in | |
48 | /run/ | |
49 | and | |
50 | /usr/lib/\&. Files in | |
51 | /run/ | |
52 | override files with the same name in | |
53 | /usr/lib/\&. | |
54 | .PP | |
55 | Packages should install their configuration files in | |
56 | /usr/lib/\&. Files in | |
57 | /etc/ | |
58 | are reserved for the local administrator, who may use this logic to override the configuration files installed by vendor packages\&. All configuration files are sorted by their filename in lexicographic order, regardless of which of the directories they reside in\&. If multiple files specify the same option, the entry in the file with the lexicographically latest name will take precedence\&. It is recommended to prefix all filenames with a two\-digit number and a dash, to simplify the ordering of the files\&. | |
59 | .PP | |
60 | If the administrator wants to disable a configuration file supplied by the vendor, the recommended way is to place a symlink to | |
61 | /dev/null | |
62 | in the configuration directory in | |
63 | /etc/, with the same filename as the vendor configuration file\&. | |
64 | .SH "CONFIGURATION FILE" | |
65 | .PP | |
66 | Configuration is also read from a single configuration file in | |
67 | /etc/\&. This file is read before any of the configuration directories, and has the lowest precedence; entries in a file in any configuration directory override entries in the single configuration file\&. | |
14228c0d MB |
68 | .SH "OPTIONS" |
69 | .PP | |
70 | \fISamples=500\fR | |
71 | .RS 4 | |
72 | Configure the amount of samples to record in total before bootchart exits\&. Each sample will record at intervals defined by Frequency=\&. | |
73 | .RE | |
74 | .PP | |
75 | \fIFrequency=25\fR | |
76 | .RS 4 | |
77 | Configure the sample log frequency\&. This can be a fractional number, but must be larger than 0\&.0\&. Most systems can cope with values under 25\-50 without impacting boot time severely\&. | |
78 | .RE | |
79 | .PP | |
80 | \fIRelative=no\fR | |
81 | .RS 4 | |
82 | Configures whether the left axis of the output graph equals time=0\&.0 (\fBCLOCK_MONOTONIC\fR | |
83 | start)\&. This is useful for using bootchart at post\-boot time to profile an already booted system, otherwise the graph would become extremely large\&. If set to yes, the horizontal axis starts at the first recorded sample instead of time=0\&.0\&. | |
84 | .RE | |
85 | .PP | |
86 | \fIFilter=no\fR | |
87 | .RS 4 | |
88 | Configures whether the resulting graph should omit tasks that did not contribute significantly to the boot\&. Processes that are too short\-lived (only seen in one sample) or that do not consume any significant CPU time (less than 0\&.001sec) will not be displayed in the output graph\&. | |
89 | .RE | |
90 | .PP | |
91 | \fIOutput=[path]\fR | |
92 | .RS 4 | |
93 | Configures the output directory for writing the graphs\&. By default, bootchart writes the graphs to | |
94 | /run/log\&. | |
95 | .RE | |
96 | .PP | |
97 | \fIInit=[path]\fR | |
98 | .RS 4 | |
99 | Configures bootchart to run a non\-standard binary instead of | |
e735f4d4 | 100 | /usr/lib/systemd/systemd\&. This option is only relevant if bootchart was invoked from the kernel command line with init=/usr/lib/systemd/systemd\-bootchart\&. |
14228c0d MB |
101 | .RE |
102 | .PP | |
103 | \fIPlotMemoryUsage=no\fR | |
104 | .RS 4 | |
105 | If set to yes, enables logging and graphing of processes\*(Aq PSS memory consumption\&. | |
106 | .RE | |
107 | .PP | |
108 | \fIPlotEntropyGraph=no\fR | |
109 | .RS 4 | |
110 | If set to yes, enables logging and graphing of the kernel random entropy pool size\&. | |
111 | .RE | |
112 | .PP | |
113 | \fIScaleX=100\fR | |
114 | .RS 4 | |
115 | Horizontal scaling factor for all variable graph components\&. | |
116 | .RE | |
117 | .PP | |
118 | \fIScaleY=20\fR | |
119 | .RS 4 | |
120 | Vertical scaling factor for all variable graph components\&. | |
121 | .RE | |
60f067b4 JS |
122 | .PP |
123 | \fIControlGroup=no\fR | |
124 | .RS 4 | |
125 | Display process control group\&. | |
126 | .RE | |
14228c0d MB |
127 | .SH "SEE ALSO" |
128 | .PP | |
129 | \fBsystemd-bootchart\fR(1), | |
130 | \fBsystemd.directives\fR(7) |