1SYSCTL.CONF(5) File Formats SYSCTL.CONF(5)
2
3
4
6 sysctl.conf - sysctl preload/configuration file
7
9 sysctl.conf is a simple file containing sysctl values to be read in and
10 set by sysctl. The syntax is simply as follows:
11
12 # comment
13 ; comment
14
15 token = value
16
17 Note that blank lines are ignored, and whitespace before and after a
18 token or value is ignored, although a value can contain whitespace
19 within. Lines which begin with a # or ; are considered comments and
20 ignored.
21
22 If a line begins with a single -, any attempts to set the value that
23 fail will be ignored.
24
25
27 As the /etc/sysctl.conf file is used to override default kernel parame‐
28 ter values, only a small number of parameters is predefined in the
29 file. Use /sbin/sysctl -a or follow sysctl(8) to list all possible pa‐
30 rameters. The description of individual parameters can be found in the
31 kernel documentation.
32
34 # sysctl.conf sample
35 #
36 kernel.domainname = example.com
37 ; this one has a space which will be written to the sysctl!
38 kernel.modprobe = /sbin/mod probe
39
41 /etc/sysctl.d/*.conf
42 /run/sysctl.d/*.conf
43 /usr/local/lib/sysctl.d/*.conf
44 /usr/lib/sysctl.d/*.conf
45 /lib/sysctl.d/*.conf
46 /etc/sysctl.conf
47
48 The paths where sysctl preload files usually exist. See also sysctl
49 option --system.
50
52 sysctl(8)
53
55 George Staikos ⟨staikos@0wned.org⟩
56
58 Please send bug reports to ⟨procps@freelists.org⟩
59
60
61
62procps-ng 2020-06-04 SYSCTL.CONF(5)