Re: logging when SIGSEGV is processed?

From: Folkert van Heusden
Date: Mon Sep 15 2003 - 11:06:44 EST


> On Llu, 2003-09-15 at 08:09, Alex Riesen wrote:
> > Probably ptrace the daemon (following all its children) would server
> > better. The feature (logging the coredumps) is definitely no needed for
> > everything, just some suspectables.
> accton() will turn on logging and that gives you log records of process
> termination including if it segfaulted.

Sound's good. You probably mean acct()? There's one little problem with that
one:
NOTES
No accounting is produced for programs running when a
crash occurs. In particular, nonterminating processes are
never accounted for.


Folkert van Heusden

+--------------------------------------------------------------------------+
| UNIX sysop? Then give MultiTail ( http://www.vanheusden.com/multitail/ ) |
| a try, it brings monitoring logfiles (and such) to a different level! |
+---------------------------------------------------= www.vanheusden.com =-+

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/