From f52010c884c746cc6e5c1136ca47b117151a8e30 Mon Sep 17 00:00:00 2001 From: Colin Patrick McCabe Date: Sun, 9 Oct 2011 08:46:25 -0700 Subject: [PATCH] Move ABOUT to README Signed-off-by: Colin McCabe --- ABOUT | 21 --------------------- README | 21 +++++++++++++++++++++ 2 files changed, 21 insertions(+), 21 deletions(-) delete mode 100644 ABOUT create mode 100644 README diff --git a/ABOUT b/ABOUT deleted file mode 100644 index 2c7d092..0000000 --- a/ABOUT +++ /dev/null @@ -1,21 +0,0 @@ -This is a little program which is designed to handle core dumps. - -On Linux, if the first character of the /proc/sys/kernel/core_pattern is a pipe -symbol (|), the remainder of the line is interpreted as a program to be -executed. The core dump is given as standard input to the program. This -functionality was implemented in Linux 2.6.19. - -Here, we take advantage of this flexibility to implement a few features that -are kind of nice to have in a core dump handler. First, we limit the number of -core files that can be on disk, deleting ones which are too old. Second, we -provide a better notification mechanism than just logging to syslog. - -An example usage might look like this: -echo "|/usr/bin/handle_core -e %e -d /home/core -m 10" > \ - /proc/sys/kernel/core_pattern - -I hope this is useful! See COPYING for the license. - -regards, -Colin McCabe -cmccabe@alumni.cmu.edu diff --git a/README b/README new file mode 100644 index 0000000..2c7d092 --- /dev/null +++ b/README @@ -0,0 +1,21 @@ +This is a little program which is designed to handle core dumps. + +On Linux, if the first character of the /proc/sys/kernel/core_pattern is a pipe +symbol (|), the remainder of the line is interpreted as a program to be +executed. The core dump is given as standard input to the program. This +functionality was implemented in Linux 2.6.19. + +Here, we take advantage of this flexibility to implement a few features that +are kind of nice to have in a core dump handler. First, we limit the number of +core files that can be on disk, deleting ones which are too old. Second, we +provide a better notification mechanism than just logging to syslog. + +An example usage might look like this: +echo "|/usr/bin/handle_core -e %e -d /home/core -m 10" > \ + /proc/sys/kernel/core_pattern + +I hope this is useful! See COPYING for the license. + +regards, +Colin McCabe +cmccabe@alumni.cmu.edu -- 1.6.6.rc1.39.g9a42