[Dirvish] dirvish-runall patch for parallel processing
ml-it-dirvish at epigenomics.com
ml-it-dirvish at epigenomics.com
Fri Aug 5 08:12:38 UTC 2005
Hi!
I just subscribed to the mailing list but we are using dirvish now for
over a year. We have quite a number of vaults, so I like dirvish-runall
to do parallel processing.
This is a simple patch to dirvish-runall that just runs the "real"
command in the background. It works for me.
--- dirvish-runall.orig 2005-08-05 09:05:32.000000000 +0200
+++ dirvish-runall 2005-08-05 09:05:47.000000000 +0200
@@ -111,7 +111,7 @@
$$Options{quiet}
or printf "%s %s\n", strftime('%H:%M:%S', localtime),
$cmd;
$$Options{'no-run'} and next;
- $status = system($cmd);
+ $status = system($cmd . " &");
$status < 0 || $status / 256 and ++$errors;
}
This may put a little load on the backup server's filesystem, but I
think it's worth it as it decreases the time for the backup window
overall.
Greetings
--
Robert Sander Senior Manager Information Systems
Epigenomics AG Kleine Praesidentenstr. 1 10178 Berlin, Germany
phone:+49-30-24345-330 fax:+49-30-24345-555
http://www.epigenomics.com robert.sander at epigenomics.com
"Ain't that something what happened today. One of us got traded to
Kansas City."
-- Casey Stengel, informing outfielder Bob Cerv he'd
been traded.
More information about the Dirvish
mailing list