Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!spool.mu.edu!munnari.oz.au!manuel!anusf.anu.edu.au!mbl900 From: mbl900@anusf.anu.edu.au (Mathew BM LIM) Newsgroups: comp.unix.programmer Subject: Finding the PIDs of all decendants Message-ID: <1991May17.130543@anusf.anu.edu.au> Date: 17 May 91 03:05:43 GMT Sender: news@newshost.anu.edu.au Reply-To: mbl900@anusf.anu.edu.au (Mathew BM LIM) Organization: Australian National University Supercomputer Facility Lines: 10 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@anu.oz Fax : +61 6 247 3425 | Internet : Mathew.BM.Lim@anu.edu.au