On 12/5/05, Robert Citek <[EMAIL PROTECTED]> wrote: > sysctl is a very useful command to set kernel parameter's while the > system is running. > > How does one find a description of the available parameters, their > possible values, and what the values mean?
A lot of the parameters (perhaps all?) are actually paths under /proc/sys. For example, if you wanted to turn off ip forwarding either of these two commands would have the same effect: # echo 0 > /proc/sys/net/ipv4/ip_forward # sysctl -w net.ipv4.ip_forward=0 To make it persistant, you could add the following line to /etc/sysctl.conf: net.ipv4.ip_forward=0 This will then get set when the system starts up (see /etc/init.d/procps.sh under Debian-based systems). If you change /etc/sysctl.conf, you can make the changes take effect by running: # sysctl -p As for documentation for the different settings, you will likely have to look in the kernel documentation. dd -- David Dooling _______________________________________________ CWE-LUG mailing list [email protected] http://www.cwelug.org/ http://www.cwelug.org/archives/ http://www.cwelug.org/mailinglist/
