Platform LSF Administration Guide Version 6.2
Understanding Job States
Administering Platform LSF
140
Understanding Job States
The bjobs command displays the current state of the job.
Normal job states
Most jobs enter only three states:
Suspended job
states
If a job is suspended, it has three states:
State transitions
A job goes through a series of state transitions until it eventually completes its task, fails,
or is terminated. The possible states of a job during its life cycle are shown in the
diagram.
Viewing running
jobs
Use the bjobs -r command to display running jobs.
Viewing done jobs
Use the bjobs -d command to display recently completed jobs.
Pending jobs
A job remains pending until all conditions for its execution are met. Some of the
conditions are:
◆
Start time specified by the user when the job is submitted
◆
Load conditions on qualified hosts
Job state Description
PEND Waiting in a queue for scheduling and dispatch
RUN Dispatched to a host and running
DONE Finished normally with a zero exit value
Job state Description
PSUSP Suspended by its owner or the LSF administrator while in PEND state
USUSP Suspended by its owner or the LSF administrator after being dispatched
SSUSP Suspended by the LSF system after being dispatched
SSUSP
RUN
USUSP
EXIT
PSUSP
PEND
bsub
bstop
bresume
bkill
or abnormal
exit
DONE
suitable host found
migration
normal
completion
host OK
host overloaded
bkill
bstop
bresume
bkill