home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.perl
- Path: sparky!uunet!panther!mothost!schbbs!mmuegel
- From: mmuegel@next3.corp.mot.com (Michael S. Muegel)
- Subject: How to check if a given process ID is still around?
- Reply-To: mmuegel@mot.com
- Organization: Corporate Information Office, Schaumburg, Illinois, Motorola, Inc.
- Date: Tue, 17 Nov 1992 00:06:24 GMT
- Message-ID: <1992Nov17.000624.21281@schbbs.mot.com>
- Sender: news@schbbs.mot.com (Net News)
- Nntp-Posting-Host: cssmsm.corp.mot.com
- Lines: 16
-
- Is there way (not using ps(1)) to see if a given PID is active? I am writing
- a scheduler that spawns children to performan various tasks and I want the
- scheduler to know if the child has quit. This way I will never run two of
- the same child "modules" simulataneously. I know I could use IPC but the
- PID trick would be an easy kludge.
-
- Thanks!
- -Mike
-
- --
- +----------------------------------------------------------------------------+
- | Michael S. Muegel | Internet: mmuegel@mot.com |
- | UNIX Applications Startup Group | Moto X.400: X10090 |
- | Corporate Information Office | Voice: (708) 576-0507 |
- | Motorola, Inc. | ... these are my opinions, honest ... |
- +----------------------------------------------------------------------------+
-