I needed a quick and dirty worker pool within bash. Easy parallelization with Bash in Linux worked well. In short,

create-a-stream-of-bash-commands | xargs --max-procs=3 -I CMD bash -c CMD

No comments: