Build and execute command lines in parallel.
Parallel is a shell tool for executing jobs in parallel using one or more computers.
A job is can be a single command or a small script that has to be run for each of the lines in the input. The typical input is a list of files, a list of hosts, a list of users, a list of URLs, or a list of tables. A job can also be a command that reads from a pipe. GNU Parallel can then split the input and pipe it into commands in parallel. If you use xargs and tee today you will find GNU Parallel very easy to use as GNU Parallel is written to have the same options as xargs. If you write loops in shell, you will find GNU Parallel may be able to replace most of the loops and make them run faster by running several jobs in parallel. GNU Parallel can even replace nested loops.
GNU Parallel makes sure output from the commands is the same output as you would get had you run the commands sequentially. This makes it possible to use output from GNU Parallel as input for other programs.
For each line of input, GNU Parallel will execute command with the line as arguments. If no command is given, the line of input is executed. Several lines will be run in parallel. GNU Parallel can often be used as a substitute for xargs or cat bash.
The GNU Parallel distribution also includes an 'sql' script which aims to give a simple, unified interface for accessing databases through all the different databases' command line clients, and a 'niceload' script to slow down or suspend a program if system activity is above a given threshold.
released on 22 January 2023
OpenPGP signature URL: https://ftpmirror.gnu.org/parallel/parallel-20230122.tar.bz2.sig
git clone git://git.savannah.gnu.org/parallel.git
23 December 2020
Leaders and contributors
Resources and communication
|Savannah||VCS Repository Webview||https://git.savannah.gnu.org/cgit/parallel.git/|
|Parallel Info Page||Mailing List||https://lists.gnu.org/mailman/listinfo/parallel/|
|Bug-parallel Info Page||Mailing List||https://lists.gnu.org/mailman/listinfo/bug-parallel/|
|Required to use||Perl 5.8|
This entry (in part or in whole) was last reviewed on 23 January 2023.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the page “GNU Free Documentation License”.
The copyright and license notices on this page only apply to the text on this page. Any software or copyright-licenses or other similar notices described in this text has its own copyright notice and license, which can usually be found in the distribution or license text itself.