Hi Guru's

SYS stuff: perl 5.05 on Tru64 Unix.

I am writing a script that needs to find the process IDs of a couple of 
processes (so they can be killed nicely). Under the csh i would usually 
do "ps -e| grep process". I am not sure if I can do something like this 
using system or if there is a module that would save a lot of work. 
I was thinking of doing something like:
$output = `system(ps -e)` and doing some regexp on $output. 
Would that seem like the way to go?
Dp.

~~
Dermot Paikkos * [EMAIL PROTECTED]
Network Administrator @ Science Photo Library
Phone: 0207 432 1100 * Fax: 0207 286 8668


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to