[comp.unix.questions] Process Id Queries

david@wubios.wustl.edu (David J. Camp) (01/18/89)

     We need an easy way to determine whether a process is running,
given its id.  We also would like to be able to determine what process
has a file open, given its name.  These solutions would preferably be 
C code, but script commands will do if that is all that is possible.
     My boss thinks scanning the output of 'ps' is too complex.
     Please reply directly to me, since I rarely have time to read
email lists.
-David-
-- 
Bitnet:   david@wubios.wustl                ^      Mr. David J. Camp
Internet: david%wubios@wucs1.wustl.edu    < * >    Box 8067, Biostatistics
uucp:     uunet!wucs1!wubios!david          v      660 South Euclid
Washington University Medical School               Saint Louis, MO 63110