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

Re: Parallel running the process

by i5513 (Pilgrim)
on Mar 06, 2012 at 23:40 UTC ( #958184=note: print w/ replies, xml ) Need Help??


in reply to Parallel running the process

Hi,
I recommend you using pdsh
In your case should be:

  • modify your script to receive only database name as parameter (and to make only the work needed to that database), databases file contains line by line all the databases
  • $ pdsh -w^databases -R exec perl-script %h | tee outputs
  • then play with outputs (see dshbak), probably with an script which recollect the info
I hope that help


Comment on Re: Parallel running the process
Download Code
Replies are listed 'Best First'.
Re^2: Parallel running the process
by i5513 (Pilgrim) on Mar 07, 2012 at 21:54 UTC

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (8)
As of 2015-07-31 11:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (276 votes), past polls