GNU Parallel 20130522 ('Rana Plaza') 发布,并行作业执行

jopen 11年前

GNU parallel 是一个shell工具用于在本地或使用远程计算机并行执行作业(job)。作业通常是一个简单的命令或一个小脚本。 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. If you use xargs 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. If you use ppss or pexec you will find GNU parallel will often make the command easier to read. 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。
GNU Parallel 20130522 ('Rana Plaza') 发布,并行作业执行
发布日志: --ctrlc is now the default if --pipe is not used, making it possible to kill remotely-started jobs simply by pressing Ctrl-C. --timeout 200% now means "kill jobs which take more than twice the time of the median runtime of a job". Jobs are now distributed round-robin when having mulitiple --sshlogin, instead of filling up one --sshlogin at a time