Penguin
Annotated edit history of sysctl(8) version 3, including all changes. View license author blame.
Rev Author # Line
1 perry 1 !!NAME
3 PerryLorier 2 sysctl - configure kernel parameters at runtime
1 perry 3
4 !!SYNOPSIS
3 PerryLorier 5 __sysctl [[-n] __''variable''__ ...__
6 __sysctl [[-n] -w __''variable''__=__''value''__ ...__
7 __sysctl [[-n] -p__
8 __sysctl [[-n] -a__
9 __sysctl [[-n] -A__
1 perry 10 !!DESCRIPTION
3 PerryLorier 11 sysctl(8) is used to modify kernel parameters at runtime. The parameters available are those listed under /proc/sys/. Procfs is required for sysctl(8) support
12 in Linux. You can use sysctl(8) to both read and write sysctl data.
1 perry 13
14 !!PARAMETERS
3 PerryLorier 15 ;__variable__: The name of a key to read from. An example is kernel.ostype. The '/' separator is also accepted in place of a '.'.
1 perry 16
17
3 PerryLorier 18 ;__variable=value__: To set a key, use the form variable=value, where variable is the key and value is the value to set it to. If the value contains quotes or characters which are parsed by the shell, you may need to enclose the value in double quotes. This requires the -w parameter to use.
1 perry 19
3 PerryLorier 20 ;__-n__: Use this option to disable printing of the key name when printing values.
1 perry 21
3 PerryLorier 22 ;__-w__: Use this option when you want to change a sysctl setting.
1 perry 23
3 PerryLorier 24 ;__-p__: Load in sysctl settings from the file specified or /etc/sysctl.conf if none given.
1 perry 25
3 PerryLorier 26 ;__-a__: Display all values currently available.
1 perry 27
3 PerryLorier 28 ;__-A__: Display all values currently available in table form.
1 perry 29
30 !!EXAMPLES
3 PerryLorier 31 /sbin/sysctl -a
32 /sbin/sysctl -n kernel.hostname
33 /sbin/sysctl -w kernel.domainname='example.com'
34 /sbin/sysctl -p /etc/sysctl.conf
1 perry 35 !!FILES
3 PerryLorier 36 ''/proc/sys /etc/sysctl.conf''
1 perry 37
38 !!SEE ALSO
3 PerryLorier 39 sysctl.conf(5)
1 perry 40
41 !!BUGS
3 PerryLorier 42 The -A parameter behaves just as -a does.
1 perry 43
44 !!AUTHOR
3 PerryLorier 45 George Staikos, <staikos@0wned.org>
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.

PHP Warning

lib/blame.php:177: Warning: Invalid argument supplied for foreach() (...repeated 7 times)