On Tue, 1 Feb 2005, Helge Hafting wrote: > Tim Schmielau wrote: > > > > >I'm trying to reconstruct the complete history of processes from the > >BSD accounting records. However, this is not very useful if a large > >fraction of the processes look as if they were started by init. > > > >The following program will print the history in a form vaguely resembling > >pstree output from the accounting file: > > > > > Just having those original ppids won't really help you, if the process > is long gone with no trace of what it was. Consider adding logging to > "fork()" and "exec()" instead of doing this. Then you can reconstruct > history all the way back to the correct executables.
Why should the process get lost with no trace of what it was - are you questioning reliability of BSD accounting? - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/