Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: controlling child processes

by ikegami (Patriarch)
on Apr 04, 2006 at 22:10 UTC ( [id://541234]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
          $pm->finish; # Terminates the child process
       }
    }
    
  2. or download this
    use Parallel::ForkManager ();
    my $pm = Parallel::ForkManager->new(3);
    ...
       exec "remotelogfile $fw logfile > /var/$fw.log";
       die("Unable to launch \"remotelogfile $fw\": $!\n");
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://541234]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (2)
As of 2024-04-24 22:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found