[stunnel-users] PPID of child process

Philip Wong hochit at gmail.com
Wed Apr 11 10:46:15 CEST 2012


Though it's not a big deal, I feel odd that I can't see the branch in my system... All children look like a self-contained process.

$ ps -efH 

philwong 21804     1  0 16:39 pts/15   00:00:00 ./stunnel new.conf
philwong 21805     1  0 16:39 pts/15   00:00:00 ./stunnel new.conf
philwong 21806     1  0 16:39 pts/15   00:00:00 ./stunnel new.conf
philwong 21807     1  0 16:39 pts/15   00:00:00 ./stunnel new.conf
philwong 21808     1  0 16:39 pts/15   00:00:00 ./stunnel new.conf
philwong 21809     1  0 16:39 ?        00:00:00 ./stunnel new.conf


Philip

On 10 Apr, 2012, at 5:35 AM, Bri Hatch <bri at ifokr.org> wrote:

> On Sun, Apr 8, 2012 at 11:31 PM, Philip Wong <hochit at gmail.com> voiced:
> 
>> However, it sounds to me the PPID of the child processes should be the stunnel parent PID.
> 
> Yes, if the stunnel parent is still running.
> 
>> With my example, if I kill PID 10764, all the stunnel processes will be gone.
>> So I expect that's the parent, then the others should have PPID "10764". Isn't it?
> 
> Try 'ps -efH' and you can see the parent/child relationship as a nice
> indented tree.
> 
> I suspect you already killed the parent.  All of these are children.
> 
> 
> -- 
> Bri Hatch, Systems and Security Engineer. http://www.ifokr.org/bri/
> 
> "There you go again - you have such a low threshold of 'disaster'."
> --mathewm
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.stunnel.org/pipermail/stunnel-users/attachments/20120411/72089531/attachment.html>


More information about the stunnel-users mailing list