xargs
Reference manpage: man xargs
Use input datastream to execute command on
Process list entries in 500 batch, on 10 threads parallel
cat list | xargs -P 10 -n 500 ./processor proc_entry_batch
Reference manpage: man xargs
Use input datastream to execute command on
cat list | xargs -P 10 -n 500 ./processor proc_entry_batch