Re: How to find the process information ???

2003-01-20 Thread Thomas R Wyant_III
"sadanand limaye" <[EMAIL PROTECTED]> wrote: > I have written a perl script to find the program is running or not. > On Unix, I can use to test mytest binary is running > $isprocactive = `ps -ef | grep mytest | grep -v grep | grep -c mytest`; > If the process mytest is running then $isprocactiv

How to find the process information ???

2003-01-19 Thread sadanand limaye
Hello, I have written a perl script to find the program is running or not. On Unix, I can use to test mytest binary is running $isprocactive = `ps -ef | grep mytest | grep -v grep | grep -c mytest`; If the process mytest is running then $isprocactive is set to 1. Similarly , how can I test whet