core_pattern pipe documentation

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Andi Kleen <andi@...>
Cc: <linux-man@...>, Linux Kernel Mailing List <linux-kernel@...>, Petr Gajdos <pgajdos@...>, <michael.kerrisk@...>
Date: Friday, April 18, 2008 - 12:53 pm

Andi,

I wrote the following description of the core_pattern pipe feature.  Does this
seem okay?

   Piping core dumps to a program
       Since kernel 2.6.19, Linux supports an  alternate  syntax
       for the /proc/sys/kernel/core_pattern file.  If the first
       character of this file is a pipe  symbol  (|),  then  the
       remainder  of  the line is interpreted as a program to be
       executed.  Instead of being written to a disk  file,  the
       core  dump  is  given  as  standard input to the program.
       Note the following points:

       *  The program must be specified using an absolute  path-
          name  (or  a  pathname relative to the root directory,
          /), and must immediately follow the '|' character.

       *  The process created to run the program  runs  as  user
          and group root.

       *  Arguments can be supplied to the program, delimited by
          white space (up to a total line length of 128  bytes).

Cheers,

Michael


Andi Kleen wrote:

-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Want to report a man-pages bug?  Look here:
http://www.kernel.org/doc/man-pages/reporting_bugs.html

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
core_pattern pipe documentation, Michael Kerrisk, (Fri Apr 18, 12:53 pm)
Re: core_pattern pipe documentation, Michael Kerrisk, (Wed Apr 23, 8:09 am)
Re: core_pattern pipe documentation, Neil Horman, (Wed Apr 23, 10:59 am)
Re: core_pattern pipe documentation, Michael Kerrisk, (Fri Apr 25, 9:18 am)
Re: core_pattern pipe documentation, Neil Horman, (Fri Apr 25, 12:22 pm)
Re: core_pattern pipe documentation, Michael Kerrisk, (Fri Apr 25, 2:13 pm)
Re: core_pattern pipe documentation, Neil Horman, (Fri Apr 25, 2:54 pm)
Re: core_pattern pipe documentation, Michael Kerrisk, (Fri Apr 25, 4:05 pm)
Re: core_pattern pipe documentation, Neil Horman, (Fri Apr 25, 4:18 pm)
Re: core_pattern pipe documentation, Michael Kerrisk, (Fri Apr 25, 4:39 pm)
core_pattern pipe documentation - draft 2, Michael Kerrisk, (Mon May 5, 3:19 am)
Re: core_pattern pipe documentation - draft 2, Neil Horman, (Mon May 5, 7:29 am)
Re: core_pattern pipe documentation, Michael Kerrisk, (Fri Apr 25, 3:50 pm)