*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Linux man pages -> sysctl (8)              
Title
Content
Arch
Section
 

SYSCTL(8)

Contents


NAME    [Toc]    [Back]

       sysctl - configure kernel parameters at runtime

SYNOPSIS    [Toc]    [Back]

       sysctl [-n] variable ...
       sysctl [-n] -w variable=value ...
       sysctl [-n] -p <filename>    (default /etc/sysctl.conf)
       sysctl [-n] -a
       sysctl [-n] -A

DESCRIPTION    [Toc]    [Back]

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

PARAMETERS    [Toc]    [Back]

       variable
	      The name of a key to read from.  An  example  is	kernel.ostype.
	      The '/' separator is also accepted in place of a '.'.

       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.

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

       -w     Use this option when you want to change a sysctl setting.

       -p     Load  in	sysctl	 settings   from   the	 file	specified   or
	      /etc/sysctl.conf if none given.

       -a     Display all values currently available.

       -A     Display all values currently available in table form.

EXAMPLES    [Toc]    [Back]

       /sbin/sysctl -a

       /sbin/sysctl -n kernel.hostname

       /sbin/sysctl -w kernel.domainname="example.com"

       /sbin/sysctl -p /etc/sysctl.conf

FILES    [Toc]    [Back]

       /proc/sys /etc/sysctl.conf

SEE ALSO    [Toc]    [Back]

      
      
       sysctl.conf(5)

BUGS    [Toc]    [Back]

       The -A parameter behaves just as -a does.

AUTHOR    [Toc]    [Back]

       George Staikos, <staikos@0wned.org>




				  21 Sep 1999			     SYSCTL(8)
[ Back ]
 Similar pages
Name OS Title
ifconfig FreeBSD configure network interface parameters
pfconfig Tru64 Configure packet filter parameters
ifconfig OpenBSD configure network interface parameters
ifconfig IRIX configure network interface parameters
ifconfig HP-UX configure network interface parameters
mtrconfig IRIX configure or display Madge PCI Token Ring interface parameters.
autoconfig IRIX configure kernel
lboot IRIX configure bootable kernel
AFinitcompression IRIX configure the audio compression type and parameters in an AFfilesetup structure for an audio track
kctune HP-UX manage kernel tunable parameters
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service