Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Parallel PL execution

by jpavus (Novice)
on Feb 23, 2002 at 19:57 UTC ( #147096=perlquestion: print w/replies, xml ) Need Help??

jpavus has asked for the wisdom of the Perl Monks concerning the following question:

My first time here and I just want to post a question. How can the parallel processing be done. e.g. 5 .pl executables and I want to run them at the same time and have a status of each and one of them whenever they finish. It will produce a file on each executables and then be rolled up in one. They will also access the oracle DB. OR Have one pl executable with parallel processing or ORAPERL cursors. It is possible to achieve a parallel queries in ORACLE but its to much hassle because of partitions and stuff than having a script that runs simultaneously. thanks

Replies are listed 'Best First'.
Re: Parallel PL execution
by Zaxo (Archbishop) on Feb 23, 2002 at 20:39 UTC

    What you want is doable with fork or and wait. You will want to call wait in list context so you can examine exit status., from the standard perl distribution, is invaluable for fine-tuning the children's environment.

    Super Search for fork and wait will land you plenty of advice to get you started.

    After Compline,

Re (tilly) 1: Parallel PL execution
by tilly (Archbishop) on Feb 23, 2002 at 22:22 UTC

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://147096]
Approved by root
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2020-08-10 18:28 GMT
Find Nodes?
    Voting Booth?
    Which rocket would you take to Mars?

    Results (58 votes). Check out past polls.