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
23 As the /etc/sysctl.conf file is used to override default kernel parame‐
24 ter values, only a small number of parameters is predefined in the
25 file. Use /sbin/sysctl -a or follow sysctl(8) to list all possible
26 parameters. The description of individual parameters can be found in
27 the kernel documentation.
28
30 # sysctl.conf sample
31 #
32 kernel.domainname = example.com
33 ; this one has a space which will be written to the sysctl!
34 kernel.modprobe = /sbin/mod probe
35
37 /run/sysctl.d/*.conf
38 /etc/sysctl.d/*.conf
39 /usr/local/lib/sysctl.d/*.conf
40 /usr/lib/sysctl.d/*.conf
41 /lib/sysctl.d/*.conf
42 /etc/sysctl.conf
43 The paths where sysctl preload files usually exist. See also
44 sysctl option --system.
45
47 sysctl(8)
48
50 George Staikos ⟨staikos@0wned.org⟩
51
53 Please send bug reports to ⟨procps@freelists.org⟩
54
55
56
57procps-ng January 2012 SYSCTL.CONF(5)