home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!ogicse!uwm.edu!wupost!darwin.sura.net!europa.asd.contel.com!ssvax!chapin
- From: chapin@ssvax.gte.com (Barry Chapin)
- Newsgroups: comp.unix.wizards
- Subject: Obtaining uppermost 'controlling' pid?
- Message-ID: <1992Aug19.123624.22341@europa.asd.contel.com>
- Date: 19 Aug 92 12:36:24 GMT
- Article-I.D.: europa.1992Aug19.123624.22341
- Sender: news@europa.asd.contel.com (News)
- Organization: GTE/SCSD
- Lines: 20
- Nntp-Posting-Host: 100.14.40.6
-
-
- Hello all,
-
- I need to obtain, from within an application running in a nested shell,
- the process id of the controlling process of a remotely logged in user
- session. That is, the 'uppermost' or 'root' process id of the process
- that is started when a remote connection (an ISODE VT connection) is
- recieved And the responder process is started, which then in turn starts
- a shell for that remotely logged in user.
-
- Eg: If this user then 'spawns' other shells or whatever, how can an
- aplication running in any of these possibly deeply nested, lower level
- shells, get the process id of that original starting responder process?
-
- Thanks in advance.
-
- -Barry Chapin
- GTE Government Systems
-
- Email to CHAPIN%SCSD@GTE.COM
-