Re: How to get a list of child processes (Unix systems only)

2007-07-12 Thread yaron
uto-Detected Subject: Re: How to get a list of child processes (Unix systems only) [EMAIL PROTECTED] wrote: > Hi, > > Thanks for the reply, > > Indeed our code solves the problem but not efficiently. > Your have to iterate over all running processes in order to filter the

Re: How to get a list of child processes (Unix systems only)

2007-07-12 Thread Mr. Shawn H. Corey
[EMAIL PROTECTED] wrote: Hi, Thanks for the reply, Indeed our code solves the problem but not efficiently. Your have to iterate over all running processes in order to filter the child processes. I wondered if there is a possibility to directly get the child processes. No. In UNIX, every p

Re: How to get a list of child processes (Unix systems only)

2007-07-12 Thread yaron
- Original Message - From: "Paul Lalli" <[EMAIL PROTECTED]> To: beginners@perl.org Sent: Wednesday, July 11, 2007 4:06:14 PM (GMT+0200) Auto-Detected Subject: Re: How to get a list of child processes (Unix systems only) On Jul 11, 2:47 am, [EMAIL PROTECTED] wrote: > I am looking f

Re: How to get a list of child processes (Unix systems only)

2007-07-11 Thread Paul Lalli
On Jul 11, 2:47 am, [EMAIL PROTECTED] wrote: > I am looking for an efficient way to get list of child (forked) processes of > a given processes id. > Has anyone idea how to do it in "pure perl style" ? This information is stored in Process Table for the system. You can access this table using th

Re: How to get a list of child processes (Unix systems only)

2007-07-11 Thread yaron
::Forking object. Yours, Yaron Kahanovitch - Original Message - From: "Jeff Pang" <[EMAIL PROTECTED]> To: beginners@perl.org Sent: Wednesday, July 11, 2007 10:18:12 AM (GMT+0200) Auto-Detected Subject: Re: How to get a list of child processes (Unix systems only) --- [EMAIL

Re: How to get a list of child processes (Unix systems only)

2007-07-11 Thread Jeff Pang
--- [EMAIL PROTECTED] wrote: > Hi, > > I am looking for an efficient way to get list of > child (forked) processes of a given processes id. > Has anyone idea how to do it in "pure perl style" ? > > Is this process created by you?otherwise you may not have the priviledge to access it,unless yo