check process state

2002-09-30 Thread Sylvanie, Jean-Pierre
Hi guys, I want to do a sub that check if a process is sleeping or not... I wrote the following sub, but I was wondering if it was possible to to it without shell calls... Thanks, jp. sub isSleeping{ # get PID of process to check my

RE: How do you put a delay/pause/wait in Perl?

2002-08-13 Thread Sylvanie, Jean-Pierre
this could help : perldoc -f sleep jp. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 13, 2002 12:41 PM To: [EMAIL PROTECTED] Subject: How do you put a delay/pause/wait in Perl? I've searched online, but it's difficult when I have no idea

RE: getting STDERR output...

2002-08-09 Thread Sylvanie, Jean-Pierre
Thanks to you all for your answers ! jp. -Original Message- From: John W. Krahn [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 08, 2002 6:36 PM To: [EMAIL PROTECTED] Subject: Re: getting STDERR output... Jean-Pierre Sylvanie wrote: Hi guys, Hello, Actually I want to get

getting STDERR output...

2002-08-08 Thread Sylvanie, Jean-Pierre
Hi guys, Actually I want to get STDERR ouput to have more details about systems call errors, and write the result to a log file... I spent a couple of hours writing (well... Finding how to write ! :) the sample code, but I have the feeling that all that stuff is overkill... Is there something