diff options
author | Matthias Urlichs <smurf@smurf.noris.de> | 2006-10-11 04:21:57 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-11 14:14:22 -0400 |
commit | cd0810410beb86c570aeb3dcd3dc1fc5ab9e6077 (patch) | |
tree | 4a2dcbf9b0e66a9aef69a94bf0d6ce8c7fe1fee8 /Documentation/sysctl/kernel.txt | |
parent | 01a3ee2b203e511e20f98b85a9172fd32c53e87c (diff) |
[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>
Diffstat (limited to 'Documentation/sysctl/kernel.txt')
-rw-r--r-- | Documentation/sysctl/kernel.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Documentation/sysctl/kernel.txt b/Documentation/sysctl/kernel.txt index 89bf8c20a586..0bc7f1e3c9e6 100644 --- a/Documentation/sysctl/kernel.txt +++ b/Documentation/sysctl/kernel.txt | |||
@@ -86,7 +86,7 @@ valid for 30 seconds. | |||
86 | core_pattern: | 86 | core_pattern: |
87 | 87 | ||
88 | core_pattern is used to specify a core dumpfile pattern name. | 88 | 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" |
90 | . core_pattern is used as a pattern template for the output filename; | 90 | . core_pattern is used as a pattern template for the output filename; |
91 | certain string patterns (beginning with '%') are substituted with | 91 | certain string patterns (beginning with '%') are substituted with |
92 | their actual values. | 92 | their actual values. |
@@ -105,6 +105,9 @@ core_pattern is used to specify a core dumpfile pattern name. | |||
105 | %h hostname | 105 | %h hostname |
106 | %e executable filename | 106 | %e executable filename |
107 | %<OTHER> both are dropped | 107 | %<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. | ||
108 | 111 | ||
109 | ============================================================== | 112 | ============================================================== |
110 | 113 | ||