
27 Jun
2013
27 Jun
'13
6:34 a.m.
Hi folks, This is likely an easy one, but my brain is fading rapidly at the moment.. Is there a way to easily collect all child (and grandchild, etc) processes of a particular process? I know I can do ps --ppid $PID to get the immediate children, and I can use pstree -p $PID to see all the descendants in graphical form, but I want to get an easy to parse list. Any ideas, or is this a case of writing it myself? cheers! Chris -- Chris Samuel : http://www.csamuel.org/ : Melbourne, VIC