I am running my jobs on a small cluster. I submitted them via qsub
. Now my labmates need resources more urgently than me, so I need to either kill my jobs or pause them, if possible.
Is there a way of pausing my jobs and releasing the CPU, RAM, etc.?
I am a normal user (no root privileges).
Best Answer
If the jobs haven't started you can put them on hold with
qhold
. Useqrls
to restart.If they are already running you can use
qsig
to suspend and resume jobs (you may need extra permissions for that, ask your administrator if that's the case):Once you have resumed your job you may have to force it to run with
qrun
Tested on a SLES 11 SP4 system with PBSPro 13.0.2.153173, but I am confident it should work with other POSIX-compliant batch job submission systems.