I run this parallel command:
parallel -q -j0 ssh {} 'echo {}; tmp/myscript' ::: host1 host2 host3 ....
Above line shows a result for most hosts.
Unfortunately the parallel command hangs on some host. The script seems to be in an endless loop.
How can I detect on which host it hangs?
All hosts are reachable. I tested this with this command:
parallel -q -j0 ssh {} 'echo {}; date' ::: host1 host2 host3 ....