Commit 6596fe31 authored by Alan Cox's avatar Alan Cox Committed by Linus Torvalds

[PATCH] update /proc/sys doc

parent 09b1300d
...@@ -17,29 +17,42 @@ before actually making adjustments. ...@@ -17,29 +17,42 @@ before actually making adjustments.
Currently, these files might (depending on your configuration) Currently, these files might (depending on your configuration)
show up in /proc/sys/kernel: show up in /proc/sys/kernel:
- acct - acct
- core_pattern
- core_uses_pid
- ctrl-alt-del - ctrl-alt-del
- dentry-state - dentry-state
- domainname - domainname
- hostname - hostname
- htab-reclaim [ PPC only ] - htab-reclaim [ PPC only ]
- hotplug
- java-appletviewer [ binfmt_java, obsolete ] - java-appletviewer [ binfmt_java, obsolete ]
- java-interpreter [ binfmt_java, obsolete ] - java-interpreter [ binfmt_java, obsolete ]
- l2cr [ PPC only ] - l2cr [ PPC only ]
- modprobe ==> Documentation/kmod.txt - modprobe ==> Documentation/kmod.txt
- msgmax
- msgmnb
- msgmni
- osrelease - osrelease
- ostype - ostype
- overflowgid - overflowgid
- overflowuid - overflowuid
- panic - panic
- pid_max
- powersave-nap [ PPC only ] - powersave-nap [ PPC only ]
- printk - printk
- real-root-dev ==> Documentation/initrd.txt - real-root-dev ==> Documentation/initrd.txt
- reboot-cmd [ SPARC only ] - reboot-cmd [ SPARC only ]
- rtsig-nr
- rtsig-max - rtsig-max
- rtsig-nr
- sem
- sg-big-buff [ generic SCSI device (sg) ] - sg-big-buff [ generic SCSI device (sg) ]
- shmall
- shmmax [ sysv ipc ] - shmmax [ sysv ipc ]
- shmmni
- stop-a [ SPARC only ]
- sysrq ==> Documentation/sysrq.txt
- tainted - tainted
- threads-max
- version - version
- zero-paged [ PPC only ] - zero-paged [ PPC only ]
...@@ -62,6 +75,41 @@ valid for 30 seconds. ...@@ -62,6 +75,41 @@ valid for 30 seconds.
============================================================== ==============================================================
core_pattern:
core_pattern is used to specify a core dumpfile pattern name.
. max length 64 characters; default value is "core"
. core_pattern is used as a pattern template for the output filename;
certain string patterns (beginning with '%') are substituted with
their actual values.
. backward compatibility with core_uses_pid:
If core_pattern does not include "%p" (default does not)
and core_uses_pid is set, then .PID will be appended to
the filename.
. corename format specifiers:
%<NUL> '%' is dropped
%% output one '%'
%p pid
%u uid
%g gid
%s signal number
%t UNIX time of dump
%h hostname
%e executable filename
%<OTHER> both are dropped
==============================================================
core_uses_pid:
The default coredump filename is "core". By setting
core_uses_pid to 1, the coredump filename becomes core.PID.
If core_pattern does not include "%p" (default does not)
and core_uses_pid is set, then .PID will be appended to
the filename.
==============================================================
ctrl-alt-del: ctrl-alt-del:
When the value in this file is 0, ctrl-alt-del is trapped and When the value in this file is 0, ctrl-alt-del is trapped and
...@@ -105,6 +153,13 @@ each time the system hits the idle loop. ...@@ -105,6 +153,13 @@ each time the system hits the idle loop.
============================================================== ==============================================================
hotplug:
Path for the hotplug policy agent.
Default value is "/sbin/hotplug".
==============================================================
l2cr: (PPC only) l2cr: (PPC only)
This flag controls the L2 cache of G3 processor boards. If This flag controls the L2 cache of G3 processor boards. If
...@@ -149,6 +204,14 @@ software watchdog, the recommended setting is 60. ...@@ -149,6 +204,14 @@ software watchdog, the recommended setting is 60.
============================================================== ==============================================================
pid_max:
PID allocation wrap value. When the kenrel's next PID value
reaches this value, it wraps back to a minimum PID value.
PIDs of value pid_max or larger are not allocated.
==============================================================
powersave-nap: (PPC only) powersave-nap: (PPC only)
If set, Linux-PPC will use the 'nap' mode of powersaving, If set, Linux-PPC will use the 'nap' mode of powersaving,
...@@ -195,7 +258,7 @@ The file rtsig-max can be used to tune the maximum number ...@@ -195,7 +258,7 @@ The file rtsig-max can be used to tune the maximum number
of POSIX realtime (queued) signals that can be outstanding of POSIX realtime (queued) signals that can be outstanding
in the system. in the system.
Rtsig-nr shows the number of RT signals currently queued. rtsig-nr shows the number of RT signals currently queued.
============================================================== ==============================================================
...@@ -231,6 +294,7 @@ can be ORed together: ...@@ -231,6 +294,7 @@ can be ORed together:
Set by modutils >= 2.4.9. Set by modutils >= 2.4.9.
2 - A module was force loaded by insmod -f. 2 - A module was force loaded by insmod -f.
Set by modutils >= 2.4.9. Set by modutils >= 2.4.9.
4 - Unsafe SMP processors: SMP with CPUs not designed for SMP.
============================================================== ==============================================================
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment