2002-02-02 04:17:29 +05:30
|
|
|
.\" Copyright 1999, George Staikos (staikos@0wned.org)
|
|
|
|
.\" This file may be used subject to the terms and conditions of the
|
|
|
|
.\" GNU General Public License Version 2, or any later version
|
|
|
|
.\" at your option, as published by the Free Software Foundation.
|
|
|
|
.\" This program is distributed in the hope that it will be useful,
|
|
|
|
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
.\" GNU General Public License for more details."
|
2012-01-06 01:57:15 +05:30
|
|
|
.TH SYSCTL.CONF "5" "January 2012" "procps-ng" "File Formats"
|
2002-02-02 04:17:29 +05:30
|
|
|
.SH NAME
|
2012-01-06 01:57:15 +05:30
|
|
|
sysctl.conf \- sysctl preload/configuration file
|
2002-02-02 04:17:29 +05:30
|
|
|
.SH DESCRIPTION
|
2012-01-06 01:57:15 +05:30
|
|
|
.B sysctl.conf
|
|
|
|
is a simple file containing sysctl values to be read in and set by
|
|
|
|
.BR sysctl .
|
2002-02-02 04:17:29 +05:30
|
|
|
The syntax is simply as follows:
|
|
|
|
.RS
|
|
|
|
.sp
|
|
|
|
.nf
|
|
|
|
.ne 7
|
|
|
|
# comment
|
|
|
|
; comment
|
|
|
|
|
2012-01-06 01:57:15 +05:30
|
|
|
token = value
|
2002-02-02 04:17:29 +05:30
|
|
|
.fi
|
|
|
|
.RE
|
|
|
|
.PP
|
|
|
|
Note that blank lines are ignored, and whitespace before and after a token or
|
|
|
|
value is ignored, although a value can contain whitespace within. Lines which
|
|
|
|
begin with a # or ; are considered comments and ignored.
|
|
|
|
.SH EXAMPLE
|
|
|
|
.RS
|
|
|
|
.sp
|
|
|
|
.nf
|
|
|
|
.ne 7
|
|
|
|
# sysctl.conf sample
|
|
|
|
#
|
|
|
|
kernel.domainname = example.com
|
|
|
|
; this one has a space which will be written to the sysctl!
|
|
|
|
kernel.modprobe = /sbin/mod probe
|
|
|
|
.fi
|
|
|
|
.RE
|
|
|
|
.PP
|
2012-01-06 01:57:15 +05:30
|
|
|
.SH FILES
|
|
|
|
.TP
|
|
|
|
/run/sysctl.d/*.conf
|
|
|
|
.TQ
|
|
|
|
/etc/sysctl.d/*.conf
|
|
|
|
.TQ
|
|
|
|
/usr/local/lib/sysctl.d/*.conf
|
|
|
|
.TQ
|
|
|
|
/usr/lib/sysctl.d/*.conf
|
|
|
|
.TQ
|
|
|
|
/lib/sysctl.d/*.conf
|
|
|
|
.TQ
|
|
|
|
/etc/sysctl.conf
|
|
|
|
The paths where
|
|
|
|
sysctl
|
|
|
|
preload files usually exit. See also
|
|
|
|
sysctl
|
|
|
|
option
|
|
|
|
.IR \-\-system .
|
2002-02-02 04:17:29 +05:30
|
|
|
.SH SEE ALSO
|
2012-01-06 01:57:15 +05:30
|
|
|
.BR sysctl (8)
|
2002-02-02 04:17:29 +05:30
|
|
|
.SH AUTHOR
|
2012-01-06 01:57:15 +05:30
|
|
|
.UR staikos\@0wned.org
|
|
|
|
George Staikos
|
|
|
|
.UE
|
|
|
|
.SH "REPORTING BUGS"
|
|
|
|
Please send bug reports to
|
|
|
|
.UR procps\@freelists.org
|
|
|
|
.UE
|