On Dec 5, 2005, at 12:02 PM, David Dooling wrote:
> As for documentation for the different settings, you will likely have
> to look in the kernel documentation.
It took a bit of digging:
$ rpm -qa | grep -i kernel
$ rpm -ql kernel-doc
$ cd /usr/share/doc/kernel-doc-2.6.11/
$ grep -r -i panic .
$ more sysctl/kernel.txt
...
==============================================================
panic:
The value in this file represents the number of seconds the
kernel waits before rebooting on a panic. When you use the
software watchdog, the recommended setting is 60.
==============================================================
panic_on_oops:
Controls the kernel's behaviour when an oops or BUG is encountered.
0: try to continue operation
1: delay a few seconds (to give klogd time to record the oops output)
and
then panic. If the `panic' sysctl is also non-zero then the
machine will
be rebooted.
==============================================================
...
That's what I was looking for. It sure would be nice if the man page
had a reference to /usr/share/doc/kernel-doc-2.6.11/Documentation/
sysctl/kernel.txt. It would also be nice to have some sample test code:
induce panic ( machine just sits there )
hard reboot
set sysctl settings for a panic
induce panic
sysctl settings do their magic -- rebooting and anything else
Whom should I e-mail with a Request For Enhancement (RFE) to the man
page?
Regards,
- Robert
http://www.cwelug.org/downloads
Help others get OpenSource software. Distribute FLOSS
for Windows, Linux, *BSD, and MacOS X with BitTorrent
_______________________________________________
CWE-LUG mailing list
[email protected]
http://www.cwelug.org/
http://www.cwelug.org/archives/
http://www.cwelug.org/mailinglist/