All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH] configurable corename
       [not found] <200210130209.g9D29it02709@hera.kernel.org>
@ 2002-10-13  3:07 ` Randy.Dunlap
  2002-10-21 20:23   ` [PATCH] configurable corename: sysctl docs Randy.Dunlap
  0 siblings, 1 reply; 3+ messages in thread
From: Randy.Dunlap @ 2002-10-13  3:07 UTC (permalink / raw
  To: Linux Kernel Mailing List

On Sun, 13 Oct 2002, Linux Kernel Mailing List wrote:

| ChangeSet 1.824, 2002/10/12 17:19:08-07:00, alan@lxorguk.ukuu.org.uk
|
| 	[PATCH] configurable corename
|
| 	To my suprise a lot of big site/beowulf type people all really want this
| 	diff, which I'd otherwise filed as 'interesting but not important'
|
|
| # This patch includes the following deltas:
| #	           ChangeSet	1.823   -> 1.824
| #	include/linux/sysctl.h	1.30    -> 1.31
| #	     kernel/sysctl.c	1.31    -> 1.32
| #	           fs/exec.c	1.49    -> 1.50

a additional patch to linux/Documentation/{core|dump}.txt (e.g.)
or Documentation/sysctl/kernel.txt sure would be nice.  :)

-- 
~Randy
  "In general, avoiding problems is better than solving them."
  -- from "#ifdef Considered Harmful", Spencer & Collyer, USENIX 1992.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH] configurable corename: sysctl docs.
  2002-10-13  3:07 ` [PATCH] configurable corename Randy.Dunlap
@ 2002-10-21 20:23   ` Randy.Dunlap
  2002-10-21 23:05     ` Rik van Riel
  0 siblings, 1 reply; 3+ messages in thread
From: Randy.Dunlap @ 2002-10-21 20:23 UTC (permalink / raw
  To: linux-kernel

On Sat, 12 Oct 2002, Randy.Dunlap wrote:

| On Sun, 13 Oct 2002, Linux Kernel Mailing List wrote:
|
| | ChangeSet 1.824, 2002/10/12 17:19:08-07:00, alan@lxorguk.ukuu.org.uk
| |
| | 	[PATCH] configurable corename
| |
| | 	To my suprise a lot of big site/beowulf type people all really want this
| | 	diff, which I'd otherwise filed as 'interesting but not important'
|
| a additional patch to linux/Documentation/{core|dump}.txt (e.g.)
| or Documentation/sysctl/kernel.txt sure would be nice.  :)

Here's an addition to Documentation/sysctl/kernel.txt for
core_uses_pid and core_pattern plus a few other corrections.

Comments on it?

otherwise: Alan, Rik, Andrew, Dave, anybody?  Please apply to 2.5.45.

Thanks,
-- 
~Randy



--- ./Documentation/sysctl/kernel.txt.core	Fri Oct 18 21:01:55 2002
+++ ./Documentation/sysctl/kernel.txt	Mon Oct 21 13:20:50 2002
@@ -17,29 +17,42 @@
 Currently, these files might (depending on your configuration)
 show up in /proc/sys/kernel:
 - acct
+- core_pattern
+- core_uses_pid
 - ctrl-alt-del
 - dentry-state
 - domainname
 - hostname
 - htab-reclaim                [ PPC only ]
+- hotplug
 - java-appletviewer           [ binfmt_java, obsolete ]
 - java-interpreter            [ binfmt_java, obsolete ]
 - l2cr                        [ PPC only ]
 - modprobe                    ==> Documentation/kmod.txt
+- msgmax
+- msgmnb
+- msgmni
 - osrelease
 - ostype
 - overflowgid
 - overflowuid
 - panic
+- pid_max
 - powersave-nap               [ PPC only ]
 - printk
 - real-root-dev               ==> Documentation/initrd.txt
 - reboot-cmd                  [ SPARC only ]
-- rtsig-nr
 - rtsig-max
+- rtsig-nr
+- sem
 - sg-big-buff                 [ generic SCSI device (sg) ]
+- shmall
 - shmmax                      [ sysv ipc ]
+- shmmni
+- stop-a                      [ SPARC only ]
+- sysrq                       ==> Documentation/sysrq.txt
 - tainted
+- threads-max
 - version
 - zero-paged                  [ PPC only ]

@@ -62,6 +75,41 @@

 ==============================================================

+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:

 When the value in this file is 0, ctrl-alt-del is trapped and
@@ -105,6 +153,13 @@

 ==============================================================

+hotplug:
+
+Path for the hotplug policy agent.
+Default value is "/sbin/hotplug".
+
+==============================================================
+
 l2cr: (PPC only)

 This flag controls the L2 cache of G3 processor boards. If
@@ -149,6 +204,14 @@

 ==============================================================

+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)

 If set, Linux-PPC will use the 'nap' mode of powersaving,
@@ -195,7 +258,7 @@
 of POSIX realtime (queued) signals that can be outstanding
 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 @@
       Set by modutils >= 2.4.9.
   2 - A module was force loaded by insmod -f.
       Set by modutils >= 2.4.9.
+  4 - Unsafe SMP processors: SMP with CPUs not designed for SMP.

 ==============================================================



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] configurable corename: sysctl docs.
  2002-10-21 20:23   ` [PATCH] configurable corename: sysctl docs Randy.Dunlap
@ 2002-10-21 23:05     ` Rik van Riel
  0 siblings, 0 replies; 3+ messages in thread
From: Rik van Riel @ 2002-10-21 23:05 UTC (permalink / raw
  To: Randy.Dunlap; +Cc: linux-kernel

On Mon, 21 Oct 2002, Randy.Dunlap wrote:

> Here's an addition to Documentation/sysctl/kernel.txt for
> core_uses_pid and core_pattern plus a few other corrections.

Looks fine to me.

Rik
-- 
Bravely reimplemented by the knights who say "NIH".
http://www.surriel.com/		http://distro.conectiva.com/
Current spamtrap:  <a href=mailto:"october@surriel.com">october@surriel.com</a>


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-10-21 22:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <200210130209.g9D29it02709@hera.kernel.org>
2002-10-13  3:07 ` [PATCH] configurable corename Randy.Dunlap
2002-10-21 20:23   ` [PATCH] configurable corename: sysctl docs Randy.Dunlap
2002-10-21 23:05     ` Rik van Riel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.