lkml.org 
[lkml]   [2003]   [Aug]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Dumb question: Why are exceptions such as SIGSEGV not logged
Alan Cox wrote:
> On Sul, 2003-08-17 at 00:06, David D. Hagood wrote:
>
>>>Your logfiles just got DoS'ed....
>>
>>
>>Why not then just log uncaught exceptions?
>
>
> man acct
>

Sorry, probably I'm missing smth. man acct(2) says:

"DESCRIPTION
"When called with the name of an existing file as argument,
ccounting is turned on, records for each terminating process are
appended to filename as it terminates. An argument of NULL causes
accounting to be turned off".

I do not see how it relates to abends.
It logs _everything_, what is not that useful. Having some kind of
filter what to log - whould be just great. Or alternatively ability to
pass file descriptor - not file name.

And this mysterious NOTES:

"No accounting is produced for programs running when a crash
occurs. In particular, nonterminating processes are never accounted for".

Sounds like acct() does reverse? No crashes are logged.
Or it is about Linux crash?

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

\
 
 \ /
  Last update: 2005-03-22 13:47    [W:0.038 / U:2.580 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site