I'm very well aware, that I can use xargs to run commands in parallel. However since the consoleout of the commands is important I was wondering if I could split the console window similar to how screen allows you to split the console window.
So is there a way I could convert a script like the following to run n parallel while each execution is shown inside it's own console "window"?
for file in directory/*; do
command1 $file
command2 args $file ...
etc
done
xterm -e command1 & xterm -e command2?command > /dev/pts/1– maybe this suits your need?screenworks fairly well over SSH.