Skip to content

Commit cd08104

Browse files
m-u-xyzLinus Torvalds
authored andcommitted
[PATCH] document the core-dump-to-a-pipe patch
The pipe-a-coredump-to-a-program feature was undocumented. *Grumble*. NB: a good enhancement to that patch would be: save all the stuff that a core file can get from the %x expansions in the environment. Signed-off-by: Matthias Urlichs <matthias@urlichs.de> Cc: Andi Kleen <ak@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
1 parent 01a3ee2 commit cd08104

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎Documentation/sysctl/kernel.txt‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ valid for 30 seconds.
8686
core_pattern:
8787

8888
core_pattern is used to specify a core dumpfile pattern name.
89-
. max length 64 characters; default value is "core"
89+
. max length 128 characters; default value is "core"
9090
. core_pattern is used as a pattern template for the output filename;
9191
certain string patterns (beginning with '%') are substituted with
9292
their actual values.
@@ -105,6 +105,9 @@ core_pattern is used to specify a core dumpfile pattern name.
105105
%h hostname
106106
%e executable filename
107107
%<OTHER> both are dropped
108+
. If the first character of the pattern is a '|', the kernel will treat
109+
the rest of the pattern as a command to run. The core dump will be
110+
written to the standard input of that program instead of to a file.
108111

109112
==============================================================
110113

0 commit comments

Comments
 (0)