Re-queuing a job
About this task
You can use brequeue to kill a job and re-queue it. When the job is re-queued, it is assigned the PEND status and the job’s new position in the queue is after other jobs of the same priority.
Procedure
To re-queue one job, use brequeue.
- You can only use brequeue on running (RUN), user-suspended (USUSP), or system-suspended (SSUSP) jobs.
- Users can only re-queue their own jobs. Only root and LSF administrator can re-queue jobs that are submitted by other users.
- You cannot use brequeue on interactive batch jobs
Results
brequeue 109
LSF kills the job with job ID 109, and re-queues it in the PEND state. If job 109 has a priority of 4, it is placed after all the other jobs with the same priority.
brequeue -u User5 45 67 90
LSF kills and re-queues 3 jobs belonging to User5. The jobs have the job IDs 45, 67, and 90.