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

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

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

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

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 following program

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, 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 accounting?

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

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 concepts

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

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

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

[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

[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

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

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 unices

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. I am

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