I'm running a GNU Parallel command on a screen session. Unfortunately, I did not put an "&" at the end of the command to push it to the background. Hence I do not have access to the command line on my screen session.
I would like to TERMINATE parallel so that it stops creating new jobs but finishes currently running ones. I will need to do so outside the screen, but I don't think screen -X will work because the screen's command line isn't accepting new commands.
Thanks!
killall -TERM perland got a message saying "no new jobs will be started, but waiting for 5 to finish." That sounds like the desired result.Also, thanks for the info on CTRL-Z! I thought Control-Z was basically the same as Control-C and didn't know "stopped" really meant "paused."
– Rmurphy Nov 17 '17 at 23:24