RE: check process state

2002-09-30 Thread Kipp, James
you could use the Proc::ProcessTable module -Original Message- From: Sylvanie, Jean-Pierre [mailto:[EMAIL PROTECTED]] Sent: Monday, September 30, 2002 11:39 AM To: '[EMAIL PROTECTED]' Subject: check process state Hi guys, I want to do a sub that check if a process is

Re: check process state

2002-09-30 Thread zentara
On Mon, 30 Sep 2002 11:38:40 -0400, [EMAIL PROTECTED] (Jean-Pierre Sylvanie) wrote: 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... My top command dosn't allow for -U or

Re: check process state

2002-09-30 Thread david
Jean-Pierre Sylvanie wrote: 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

Re: check process state

2002-09-30 Thread david
Zentara wrote: My top command dosn't allow for -U or $user. Maybe you meant to use ps ? the -U argument only exist for a certain version of top Top version 3.4 has it in my UNIX machine in my Linux box: [david@panda]$ top -V top (procps version 2.0.7) doesn't have it. david -- To