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).

  • 1
    You can hold back your not yet running jobs with qhold, but this does not affect already running jobs. It seems that qmod can suspend running jobs, but needs root or manager privileges.
    – jofel
    Commented Sep 7, 2015 at 12:01
  • Assuming you have MOAB cluster: you can suspend your job (if configured accordingly), but only administrator can resume it: docs.adaptivecomputing.com/mwm/Content/topics/jobAdministration/…
    – Ott Toomet
    Commented Dec 27, 2015 at 5:13
  • use qrls <job ID> to rerun your job. Commented Dec 24, 2020 at 18:41

1 Answer 1


If the jobs haven't started you can put them on hold with qhold. Use qrls to restart.

qhold <job ID>
qrls <job ID>

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):

qsig -s suspend <job ID>
qsig -s resume <job ID>

Once you have resumed your job you may have to force it to run with qrun

qrun <job ID>

Tested on a SLES 11 SP4 system with PBSPro, but I am confident it should work with other POSIX-compliant batch job submission systems.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .