I submitted a set(~20 jobs) of processes (mpirun -n 16 executable) through a bash script (say ./run.sh &) which takes a few days to complete. After submission, I exited the terminal. Now when I log back in and top, I can only see the PID of the current process. How can I determine the PID of the run.sh so that I can kill run.sh that will terminate the batch jobs instead of killing each of those 20 jobs individually.
Thank you.