Seth Woolley's Man Viewer

Manual for sysctl - man sysctl

([section] manual, -k keyword, -K [section] search, -f whatis)
man plain no title

SYSCTL(8)                                                            SYSCTL(8)



NAME
       sysctl(2,5,8) - configure kernel parameters at runtime

SYNOPSIS
       sysctl(2,5,8) [-n] [-e] variable ...
       sysctl(2,5,8) [-n] [-e] [-q] -w variable=value ...
       sysctl(2,5,8) [-n] [-e] [-q] -p <filename>
       sysctl(2,5,8) [-n] [-e] -a
       sysctl(2,5,8) [-n] [-e] -A

DESCRIPTION
       sysctl(2,5,8)  is used to modify kernel parameters at runtime.  The parameters
       available are those listed under /proc(5,n)/sys/.  Procfs  is  required  for
       sysctl(2,5,8)(8)  support  in(1,8)  Linux.   You can use sysctl(2,5,8)(8) to both read(2,n,1 builtins) and
       write(1,2) sysctl(2,5,8) data.

PARAMETERS
       variable
              The name of a key to read(2,n,1 builtins) from.  An  example  is  kernel.ostype.
              The '/' separator is also accepted in(1,8) place of a '.'.

       variable=value
              To set(7,n,1 builtins) a key, use the form variable=value, where variable is the
              key and value is the value to set(7,n,1 builtins) it to.  If the value  contains
              quotes or characters which are parsed by the shell, you may need
              to enclose the value in(1,8) double quotes.   This  requires  the  -w
              parameter to use.

       -n     Use  this option to disable printing of the key name when print-
              ing values.

       -e     Use this option to ignore errors about unknown keys.

       -N     Use this option to only print the names. It may be  useful  with
              shells that have programmable completion.

       -q     Use this option to not display the values set(7,n,1 builtins) to stdout.

       -w     Use this option when you want to change a sysctl(2,5,8) setting.

       -p     Load   in(1,8)   sysctl(2,5,8)   settings   from   the   file(1,n)  specified  or
              /etc/sysctl.conf if(3,n) none given.

       -a     Display all values currently available.

       -A     Display all values currently available in(1,8) table form.

EXAMPLES
       /sbin/sysctl(2,5,8) -a

       /sbin/sysctl(2,5,8) -n kernel.hostname

       /sbin/sysctl(2,5,8) -w kernel.domainname="example.com"

       /sbin/sysctl(2,5,8) -p /etc/sysctl.conf

FILES
       /proc(5,n)/sys /etc/sysctl.conf

SEE ALSO
       sysctl.conf(5)

BUGS
       The -A parameter behaves just as -a does.

AUTHOR
       George Staikos, <staikos@0wned.org>




                                  21 Sep 1999                        SYSCTL(8)

References for this manual (incoming links)