Hi,

Is there a way to know how many child processes that have been forked by
its parent process? The forked process may exit when it finishes, so if
parent process needs to know the status, it has to check it regularly.

I'm guess this number could be used to control the total numbers
processes to avert too many resources exhausted. Once the number is
reduced, new child could be forked.

Thanks.

-- 
Posted via http://www.ruby-forum.com/.