Finding the PIDs of all decendants

Mathew BM LIM mbl900 at anusf.anu.edu.au
Fri May 17 13:05:43 AEST 1991


Has anyone got some C code which, given a PID, will (recursively) create
an array of the PIDs of all it's decendants? 

If not, have you any ideas as to how to implement this?

-- 
Mathew Lim, Unix Systems Programmer, ANU Supercomputer Facility,	
Australian National University,	GPO Box 4, Canberra City, ACT, Australia 2601.
Telephone : +61 6 249 2750 	| ACSnet    : Mathew.BM.Lim at anu.oz
Fax       : +61 6 247 3425	| Internet  : Mathew.BM.Lim at anu.edu.au



More information about the Comp.unix.programmer mailing list