Results 1 to 2 of 2
Is there a way to determine precisely what process created another process? For example: Process A forks creating process B and then process B creates a process of its own, ...
- 03-11-2009 #1Just Joined!
- Join Date
- Mar 2009
- Posts
- 2
Beyond PS
Is there a way to determine precisely what process created another process? For example: Process A forks creating process B and then process B creates a process of its own, process C. If I type in ps -j all three processes will have the same Group ID (presumably the PID from process A). Is there any way to identify that process C was spawned by process B as opposed to A?
- 03-11-2009 #2Just Joined!
- Join Date
- Mar 2009
- Posts
- 2
Sorry guys, I'm an idiot. ps -f gives the PPID.


Reply With Quote