Projects

pexec

The main purpose of the program pexec is to execute the given command or shell script (e.g. parsed by /bin/sh) in parallel on the local host or on remote hosts, while some of the execution parameters, namely the redirected standard input, output or error and environmental variables can be varied. This program is therefore capable to replace the classic shell loop iterators (e.g. for ~ in ~ done in the Bourne shell) by executing the body of the loop in parallel. Thus, the program `pexec` implements shell level data parallelism in a very simple form.