Path: utzoo!attcan!uunet!wucs1!wuibc!wugate!wubios!david From: david@wubios.wustl.edu (David J. Camp) Newsgroups: comp.unix.questions Subject: Process Id Queries Keywords: process id open file question Message-ID: <283@wubios.wustl.edu> Date: 18 Jan 89 01:26:14 GMT Organization: Washington University (St. Louis) Lines: 14 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