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");
    }