Re: [RFC] "biological parent" pid

2005-02-01 Thread Tim Schmielau
On Tue, 1 Feb 2005, Bill Davidsen wrote: > Tim Schmielau wrote: > > The ppid of a process is not really helpful if I want to reconstruct the > > real history of processes on a machine, since it may become 1 when the > > parent dies and the process is reparented to init. > > > > I am not aware of

Re: [RFC] "biological parent" pid

2005-02-01 Thread Bill Davidsen
Tim Schmielau wrote: The ppid of a process is not really helpful if I want to reconstruct the real history of processes on a machine, since it may become 1 when the parent dies and the process is reparented to init. I am not aware of concepts in Linux or other unices that apply to this case. So I

Re: [RFC] "biological parent" pid

2005-02-01 Thread Tim Schmielau
On Tue, 1 Feb 2005, Bernd Eckenfels wrote: > In article <[EMAIL PROTECTED]> you wrote: > > I am not aware of concepts in Linux or other unices that apply to this > > case. > > Normal process accounting. Sure. That's what the patch was made for. Or do you have anything else in mind than BSD accou

Re: [RFC] "biological parent" pid

2005-02-01 Thread Helge Hafting
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

Re: [RFC] "biological parent" pid

2005-02-01 Thread Tim Schmielau
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 foll

Re: [RFC] "biological parent" pid

2005-01-31 Thread Bernd Eckenfels
In article <[EMAIL PROTECTED]> you wrote: > I am not aware of concepts in Linux or other unices that apply to this > case. Normal process accounting. If you want to keep the pid of the bio-parent, you also need to keep the start-time to make it unique. Better would be to have a all-time-unqiue pr

Re: [RFC] "biological parent" pid

2005-01-31 Thread Tim Schmielau
On Mon, 31 Jan 2005, Michael Buesch wrote: > Quoting Tim Schmielau <[EMAIL PROTECTED]>: > > The ppid of a process is not really helpful if I want to reconstruct the > > real history of processes on a machine, since it may become 1 when the > > parent dies and the process is reparented to init. >

Re: [RFC] "biological parent" pid

2005-01-31 Thread Michael Buesch
Quoting Tim Schmielau <[EMAIL PROTECTED]>: > The ppid of a process is not really helpful if I want to reconstruct the > real history of processes on a machine, since it may become 1 when the > parent dies and the process is reparented to init. > > I am not aware of concepts in Linux or other unic

Re: [RFC] "biological parent" pid

2005-01-31 Thread linux-os
On Mon, 31 Jan 2005, Tim Schmielau wrote: The ppid of a process is not really helpful if I want to reconstruct the real history of processes on a machine, since it may become 1 when the parent dies and the process is reparented to init. I am not aware of concepts in Linux or other unices that apply

[RFC] "biological parent" pid

2005-01-31 Thread Tim Schmielau
The ppid of a process is not really helpful if I want to reconstruct the real history of processes on a machine, since it may become 1 when the parent dies and the process is reparented to init. I am not aware of concepts in Linux or other unices that apply to this case. So I made up the "biologi