Process Id Queries

David J. Camp david at wubios.wustl.edu
Wed Jan 18 11:26:14 AEST 1989


     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 at wubios.wustl                ^      Mr. David J. Camp
Internet: david%wubios at wucs1.wustl.edu    < * >    Box 8067, Biostatistics
uucp:     uunet!wucs1!wubios!david          v      660 South Euclid
Washington University Medical School               Saint Louis, MO 63110



More information about the Comp.unix.questions mailing list