Just to make sure you're aware, the 'f' flag to ps will give you a 'forest'-type diagram of process parent/child relationships. Taking a quick glance through /proc, it looks like you have to loop ...
The /proc file system brings the processes on your Unix systems into view in some very useful ways, but only if you take the time to cd over to /proc and see all it can tell you. The /proc virtual ...
Results that may be inaccessible to you are currently showing.
Hide inaccessible results