from small one page howto to huge articles all in one place

search text in:




Other .linuxhowtos.org sites:gentoo.linuxhowtos.org



Last additions:
using iotop to find disk usage hogs

using iotop to find disk usage hogs

words:

887

views:

209589

userrating:


May 25th. 2007:
Words

486

Views

258594

why adblockers are bad


Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

words:

161

views:

149886

userrating:


April, 26th. 2006:

Druckversion
You are here: manpages





SYSCTL.CONF

Section: File Formats (5)
Updated: 202-0-29
Index Return to Main Contents
 

NAME

sysctl.conf - Linux kernel configuration parameters  

DESCRIPTION

sysctl.conf is a set of configuration files that contain Linux kernel configuration parameters to be read and set by sysctl(8).

This man page describes the configuration files for procps sysctl. If you are using systemd-sysctl(8), refer to sysctl.d(5) and note that it won't use the file /etc/:sysctl:.conf.  

Configuration Format

Each line of a file read by procps sysctl describes a kernel parameter in the following format.
token = value
There is no need to use quotation marks for value, even if the value is a list of items. Blank lines and lines that start with [lq]#[rq] or [lq];[rq] are ignored. If a line begins with a single [lq]-[rq], a failing attempt to set the value is ignored.  

FILES

procps sysctl, when run with the --system option, reads files from directories in the order shown below.
/etc/sysctl.d/*.conf
/run/sysctl.d/*.conf /usr/local/lib/sysctl.d/*.conf /usr/lib/sysctl.d/*.conf /lib/sysctl.d/*.conf
Finally, procps sysctl reads /etc/:sysctl:.conf. This file is not used by systemd-sysctl, which means that some kernel parameters are not set depending on the implementation of sysctl that is installed.  

BUGS

The maximum supported length of value is 4096 characters due to a limitation on /proc entry length in the Linux kernel.  

EXAMPLES

# # kernel.domainname = example.com ; A value containing a space is written to the sysctl. kernel.modprobe = /sbin/mod probe # A list of items for the value net.ipv4.ip_local_reserved_ports=8080,9148  

SEE ALSO

sysctl.d(5), sysctl(8), systemd-sysctl(8)


 

Index

NAME
DESCRIPTION
Configuration Format
FILES
BUGS
EXAMPLES
SEE ALSO





Support us on Content Nation
rdf newsfeed | rss newsfeed | Atom newsfeed
- Powered by LeopardCMS - Running on Gentoo -
Copyright 2004-2025 Sascha Nitsch Unternehmensberatung GmbH
Valid XHTML1.1 : Valid CSS
- Level Triple-A Conformance to Web Content Accessibility Guidelines 1.0 -
- Copyright and legal notices -
Time to create this page: 14.4 ms