Job Status Codes
From HPC
(Difference between revisions)
(Created page with 'Jobs Status Codes - Qstat Category State SGE Letter Code Pending pending qw Pending pending, user ho…') |
|||
Line 1: | Line 1: | ||
Jobs Status Codes - Qstat | Jobs Status Codes - Qstat | ||
+ | |||
+ | the status of the job - one of d(eletion), E(rror), | ||
+ | h(old), r(unning), R(estarted), s(uspended), S(uspended), | ||
+ | t(ransfering), T(hreshold) or w(aiting). | ||
+ | |||
+ | The state d(eletion) indicates that a qdel(1) has been | ||
+ | used to initiate job deletion. The states t(ransfering) | ||
+ | and r(unning) indicate that a job is about to be executed | ||
+ | or is already executing, whereas the states s(uspended), | ||
+ | S(uspended) and T(hreshold) show that an already running | ||
+ | jobs has been suspended. The s(uspended) state is caused | ||
+ | by suspending the job via the qmod(1) command, the | ||
+ | S(uspended) state indicates that the queue containing the | ||
+ | job is suspended and therefore the job is also suspended | ||
+ | and the T(hreshold) state shows that at least one suspend | ||
+ | threshold of the corresponding queue was exceeded (see | ||
+ | queue_conf(5)) and that the job has been suspended as a | ||
+ | consequence. The state R(estarted) indicates that the job | ||
+ | was restarted. This can be caused by a job migration or | ||
+ | because of one of the reasons described in the -r section | ||
+ | of the qsub(1) command. | ||
+ | |||
+ | The states w(aiting) and h(old) only appear for pending | ||
+ | jobs. The h(old) state indicates that a job currently is | ||
+ | not eligible for execution due to a hold state assigned | ||
+ | to it via qhold(1), qalter(1) or the qsub(1) -h option or | ||
+ | that the job is waiting for completion of the jobs to | ||
+ | which job dependencies have been assigned to the job via | ||
+ | the -hold_jid or -hold_jid-ad options of qsub(1) or | ||
+ | qalter(1). | ||
+ | |||
+ | The state E(rror) appears for pending jobs that couldn't | ||
+ | be started due to job properties. The reason for the job | ||
+ | error is shown by the qstat(1) -j job_list option. | ||
Category State SGE Letter Code | Category State SGE Letter Code |
Revision as of 07:53, 24 May 2019
Jobs Status Codes - Qstat
the status of the job - one of d(eletion), E(rror), h(old), r(unning), R(estarted), s(uspended), S(uspended), t(ransfering), T(hreshold) or w(aiting).
The state d(eletion) indicates that a qdel(1) has been used to initiate job deletion. The states t(ransfering) and r(unning) indicate that a job is about to be executed or is already executing, whereas the states s(uspended), S(uspended) and T(hreshold) show that an already running jobs has been suspended. The s(uspended) state is caused by suspending the job via the qmod(1) command, the S(uspended) state indicates that the queue containing the job is suspended and therefore the job is also suspended and the T(hreshold) state shows that at least one suspend threshold of the corresponding queue was exceeded (see queue_conf(5)) and that the job has been suspended as a consequence. The state R(estarted) indicates that the job was restarted. This can be caused by a job migration or because of one of the reasons described in the -r section of the qsub(1) command.
The states w(aiting) and h(old) only appear for pending jobs. The h(old) state indicates that a job currently is not eligible for execution due to a hold state assigned to it via qhold(1), qalter(1) or the qsub(1) -h option or that the job is waiting for completion of the jobs to which job dependencies have been assigned to the job via the -hold_jid or -hold_jid-ad options of qsub(1) or qalter(1).
The state E(rror) appears for pending jobs that couldn't be started due to job properties. The reason for the job error is shown by the qstat(1) -j job_list option.
Category State SGE Letter Code Pending pending qw Pending pending, user hold qw Pending pending, system hold hqw Pending pending, user and system hold hqw Pending pending, user hold, re-queue hRwq Pending pending, system hold, re-queue hRwq Pending pending, user and system hold, re-queue hRwq Pending pending, user hold qw Pending pending, user hold qw Running running r Running transferring t Running running, re-submit Rr Running transferring, re-submit Rt Suspended obsuspended s, ts Suspended queue suspended S, tS Suspended queue suspended by alarm T, tT Suspended allsuspended withre-submit Rs,Rts,RS, RtS, RT, RtT Error allpending states with error Eqw, Ehqw, EhRqw Deleted all running and suspended states with deletion dr,dt,dRr,dRt,ds, dS, dT,dRs, dRS, dRT