From 2cf23588d768fa8b632d80354cb8501a97426af0 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 2 Jul 2009 15:16:26 -0400 Subject: parallel: New program, contributed by Tollef Fog Heen, that can run multiple jobs in parallel, optionally checking load average. --- parallel.docbook | 116 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 116 insertions(+) create mode 100644 parallel.docbook (limited to 'parallel.docbook') diff --git a/parallel.docbook b/parallel.docbook new file mode 100644 index 0000000..07d2bf3 --- /dev/null +++ b/parallel.docbook @@ -0,0 +1,116 @@ + + + + + + + + +
+ joey@kitenet.net +
+ + Joey + Hess + + 2009-07-02 +
+ + + parallel + 1 + + + + parallel + run programs in parallel + + + + + parallel + options + command + -- + arguments + + + + + DESCRIPTION + + parallel runs the specified command, + passing it a single one of the specified arguments. This is + repeated for each argument. The default is to run all + the commands at the same time. + + + + + OPTIONS + + + + + + + Use to limit the number of jobs + that are run at the same time. + + + + + + + Avoid starting new jobs when + the system's load average is higher + than the specified limit. + + + + + + + Normally the command is passed the + argument at the end of its command line. With + this option, the first instance of "{}" in + the command is replaced with the argument. + + + + + + + + + EXAMPLE + + + + parallel -j 3 ufraw -o processed -- *.NEF + + + + This runs three ufraw processes at the same time until + all of the NEF files have been processed. + + + + + + EXIT STATUS + + + Its exit status is the combination of the exit statuses of each + command ran, ORed together. (Thus, if any one command + exists nonzero, parallel as a whole will exit nonzero.) + + + +
-- cgit v1.2.3