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
30 parameters. The description of individual parameters can be found in
31 the 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 /run/sysctl.d/*.conf
42 /etc/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 The paths where sysctl preload files usually exist. See also
48 sysctl option --system.
49
51 sysctl(8)
52
54 George Staikos ⟨staikos@0wned.org⟩
55
57 Please send bug reports to ⟨procps@freelists.org⟩
58
59
60
61procps-ng 2019-09-21 SYSCTL.CONF(5)