From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,695d4f92d06c144b,start X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2001-05-10 17:16:47 PST X-Newsreader: xrn 9.02 Sender: dbs900@anusf (David Singleton) From: dbs900@anusf.anu.edu.au (David Singleton) Newsgroups: comp.unix.tru64 Subject: /proc and sids of orphaned process groups Keywords: proc, sid, orphan, table NNTP-Posting-Host: 150.203.5.130 X-Original-NNTP-Posting-Host: 150.203.5.130 Message-ID: <3afb2f57$1@clarion.carno.net.au> Date: 11 May 2001 10:16:23 +1000 X-Trace: clarion.carno.net.au 989540183 150.203.5.130 (11 May 2001 10:16:23 +1000) Path: archiver1.sj.google.com!newsfeed.google.com!newsfeed.stanford.edu!feed.textport.net!news.stealth.net!intgwpad.nntp.telstra.net!news1.optus.net.au!optus!clarion.carno.net.au!anusf!dbs900 Xref: archiver1.sj.google.com comp.unix.tru64:2199 It looks like /proc loses the session id of orphaned process groups. If you kill the session leader, the structs in /proc report a session id of 0. Luckily, TBL_PROCINFO from table() maintains the session id. This is under V5.1 732