Red Hat ENTERPRISE LINUX 3 Reference Manual page 95

Hide thumbs Also See for ENTERPRISE LINUX 3:
Table of Contents

Advertisement

proc
Chapter 5. The
To get a quick overview of all settings configurable in the
/sbin/sysctl -a
which looks something like the following:
net.ipv4.route.min_delay = 2
kernel.sysrq = 0
kernel.sem = 250
This is the same information seen if each of the files were viewed individually. The only differ-
ence is the file location. For example,
net.ipv4.route.min_delay
tion assumed.
The
command can be used in place of
sysctl
directory. For instance instead of using the following command:
/proc/sys/
echo 1 > /proc/sys/kernel/sysrq
The equivalent
sysctl
sysctl -w kernel.sysrq="1"
kernel.sysrq = 1
While quickly setting single values like this in
does not work as well on a production system as special settings within
the machine is rebooted. To preserve custom settings, add them to the
Each time the system boots, the
contains a command to execute
to the kernel. Any values added to
boots.
5.5. Additional Resources
Below are additional sources of information about
5.5.1. Installed Documentation
Some of the best documentation about the
/usr/src/linux-2.4/Documentation/filesystems/proc.txt
limited, information about all aspects of the
/usr/src/linux-2.4/Documentation/sysrq.txt
options.
/usr/src/linux-2.4/Documentation/sysctl/
tips, including modifying values that concern the kernel (
sysctl
systems (
), and virtual memory use (
fs.txt
/usr/src/linux-2.4/Documentation/networking/ip-sysctl.txt
overview of IP networking options.
/usr/src/linux-2.4/
can be found by reading the kernel source code. Make sure the
on the system and look in the
File System
command as root. This creates a large, comprehensive list, a small portion of
32000
32
/proc/sys/net/ipv4/route/min_delay
, with the directory slashes replaced by dots and the
command is as follows:
program runs the
init
using
sysctl
/etc/sysctl.conf
— Some of the most authoritative information on the
/usr/src/linux-2.4/
128
to assign values to writable files in the
echo
is helpful during testing, this method
/proc/sys/
/etc/rc.d/rc.sysinit
/etc/sysctl.conf
therefore take effect each time the system
file system.
proc
file system is installed on the system by default.
proc
directory.
/proc/
— An overview of System Request Key
— A directory containing a variety of
).
vm.txt
directory for the source code.
directory, type the
/proc/sys/
file is listed as
proc.sys
/proc/sys/
/etc/sysctl.conf
script. This script
to determine the values passed
— Contains assorted, but
), accessing file
kernel.txt
/proc/
RPM is installed
kernel-source
77
por-
are lost when
file.
A
detailed
directory

Advertisement

Table of Contents
loading

Table of Contents