sge_status(5)
β¨ NAME β¨
sge_status β Grid Engine job status values π
Like, this is the sge_status(5) page bestie, and it's literally the decoder ring for every cryptic little letter cluster Grid Engine throws at you.
π¦ DESCRIPTION π¦
π Job state π
okay so, here's the tea β β when you run qstat(1), you get these tiny letter combos that look like someone fell asleep on the keyboard. They're not random!! They're your job's whole mood. π«Ά
Same deal with what drmaa_jobcontrol(3) hands back to you.
And here's the mapping situation: the DRMAA state column is the thing that lines up with the DRMAA_PS_state value that drmaa_job_ps(3) might return. iykyk π
So the list below is: the Category (the vibe), the State (what's actually happening), the SGE letters (what you'll see in qstat), and the DRMAA state (the formal name for that same vibe).
no cap, every single one of these is listed. we are not skipping any. periodt. π
πΈ Pending πΈ
not running yet, just vibing in the queue. The h means a hold, the R means it's a re-queue, the w means it's waiting. Slay.
pendingβ SGE letters:qw,Rqβ DRMAA:QUEUED_ACTIVEβ¨pending, user holdβ SGE letters:hqwβ DRMAA:USER_ON_HOLDπpending, system holdβ SGE letters:hqwβ DRMAA:SYSTEM_ON_HOLDπpending, user and system holdβ SGE letters:hqwβ DRMAA:USER_SYSTEM_ON_HOLDπpending, user hold, re-queueβ SGE letters:hRwqβ DRMAA:USER_ON_HOLDπpending, system hold, re-queueβ SGE letters:hRwqβ DRMAA:SYSTEM_ON_HOLDπpending, user and system hold, re-queueβ SGE letters:hRwqβ DRMAA:USER_SYSTEM_ON_HOLDπ
π₯ Running / transferring π₯
it's alive!! main character energy, actively doing the thing (or being moved around).
running, transferringβ SGE letters:r,hr,tβ DRMAA:RUNNINGπrunning, re-run / transferringβ SGE letters:Rr,Rtβ DRMAA:RUNNINGπ
π§ Suspended π§
paused. not cancelled, not dead, just β¨ on pause β¨.
job suspendedβ SGE letters:s,tsβ DRMAA:USER_SUSPENDEDβΈοΈqueue suspendedβ SGE letters:S,tSβ DRMAA:SYSTEM_SUSPENDEDβΈοΈqueue suspended by alarmβ SGE letters:T,tTβ DRMAA:SYSTEM_SUSPENDEDπ¨all suspended with re-runβ SGE letters:Rs,Rts,RS,RtS,RT,RtTβ DRMAA:SYSTEM_SUSPENDEDπ΄
π Error π
something went sideways. it's giving oops.
all pending states with errorβ SGE letters:Eqw,Ehqw,EhRqwβ DRMAA:FAILEDπ
π Deleting π
on the way out. the d is literally the "deletion" badge.
all running and suspended states with deletionβ SGE letters:dr,dt,dRr,dRt,ds,dS,dT,dRs,dRS,dRTβ DRMAA: same as equivalent DRMAA states without the "d" π«‘
π Finished π
it did the thing. we love a completion arc.
job finished normallyβ SGE letters:zβ DRMAA:DONEπ
β Unkown β
(yes, spelled exactly like that in the original β not me, I would never π)
the status is a mystery. nobody knows. it's giving shrug emoji.
status cannot be determinedβ SGE letters: (nothing β this column is literally empty) β DRMAA:UNDETERMINEDπ¦
and yeah that's the whole job state situation. more of this page still to come, bestie β we're not done yet π«Ά
okay so bestie, this next bit is the receipts table β except it's a table in the original and we're doing bullets because tables are not the vibe here. The following table lists the "failed" values reported by qacct(1) (see accounting(5)), their description, also reported by qacct, whether the resource usage accounting data are valid for the job ("OK"), and an explanation. The host's messages file or the shepherd trace file (preserved with execd_params KEEP_ACTIVE in sge_conf(5)) may provide more information about errors. π
0β no failure Β· OK: Y β ran and exited normally β¨1β assumedly before job Β· OK: N β failed early in execd π3β before writing config Β· OK: N β failed before execd set up local spool4β before writing PID Β· OK: N β shepherd failed to record its pid - filesystem problem?6β setting processor set Β· OK: N β failed setting up processor set (obsolete)7β before prolog Β· OK: N β failed before prolog8β in prolog Β· OK: N β failed in prolog9β before pestart Β· OK: N β failed before starting PE10β in pestart Β· OK: N β failed in PE starter11β before job Β· OK: N β failed in shepherd before starting job12β before pestop Β· OK: Y β ran, but failed before calling PE stop procedure13β in pestop Β· OK: Y β ran, but PE stop procedure failed14β before epilog Β· OK: Y β ran, but failed before calling epilog15β in epilog Β· OK: Y β ran, but failed in epilog16β releasing processor set Β· OK: Y β ran, but processor set could not be released (obsolete)17β through signal Β· OK: Y β job killed by signal (possibly qdel)18β shepherd returned error Β· OK: N β shepherd died somehow19β before writing exit_status Β· OK: N β shepherd didn't write reports correctly - probably program or machine crash20β found unexpected error file Β· OK: ? β shepherd encountered a problem21β in recognizing job Β· OK: N β qmaster asked about an unknown job (not in accounting?)24β migrating (checkpointing jobs) Β· OK: Y β ran, will be migrated25β rescheduling Β· OK: Y β ran, will be rescheduled26β opening output file Β· OK: N β failed opening stderr/stdout file27β searching requested shell Β· OK: N β failed finding specified shell28β changing to working directory Β· OK: N β failed changing to start directory
ngl bestie, if the OK is N, those resource usage accounting numbers are not it β don't trust them. If it's ?, the original is literally shrugging at you π. And if it's Y, the job ran and the data is valid, periodt. π
More parts are coming, so don't go anywhere. π¦
...and the β¨vibeβ¨ continues, bestie, same table, same columns as the last two parts, no skips, no gaps, we're finishing the whole thing π
29β AFS setup βNβ failed setting up AFS security30β application error returned βYβ ran and exited 100 - maybe re-scheduled31β accessing sgepasswd file βNβ failed because sgepasswd not readable (MS Windows)32β entry is missing in password file βNβ failed because user not in sgepasswd (MS Windows)33β wrong password βNβ failed because of wrong password against sgepasswd (MS Windows)34β communicating with Grid Engine Helper Service βNβ failed because of failure of helper service (MS Windows)35β before job in Grid Engine Helper Service βNβ failed because of failure running helper service (MS Windows)36β checking configured daemons βNβ failed because of configured remote startup daemon37β qmaster enforcedh_rt,h_cpu, orh_vmemlimit βYβ ran, but killed due to exceeding run time limit38β adding supplementary group βNβ failed adding supplementary gid to job100β assumedly after job βYβ ran, but killed by a signal (perhaps due to exceeding resources), task died, shepherd died (e.g. node crash), etc.
okay and real talk for a sec, because this bit is genuinely important π if one of those methods the shepherd runs (think prolog and friends) hands back a non-zero return code, you wanna know what that actually does to your job β so go read sge_shepherd(8). That's where the tea is π«
β¨ SEE ALSO β¨
bestie the whole cinematic universe is right here, go explore π¦
drmaa_jobcontrol(3)qstat(1)sge_shepherd(8)accounting(5)
and that's a wrap on the whole page, no cap π this was sge_status(5), dated 2013-04-07 β yes she's an elder but she still ate, and she remains iconic. go forth and read your exit codes like the main character you are, bestie πΈπβ¨
π¦ where this page comes from
- debian bookworm: gridengine-common 8.1.9+dfsg-10 Β· SISSL
- debian trixie: gridengine-common 8.1.9+dfsg-13.1 Β· SISSL
- ubuntu jammy: gridengine-common 8.1.9+dfsg-10build1 Β· SISSL
- ubuntu noble: gridengine-common 8.1.9+dfsg-11build3 Β· SISSL
- ubuntu questing: gridengine-common 8.1.9+dfsg-13.1
- ubuntu resolute: gridengine-common 8.1.9+dfsg-13.2 Β· SISSL
- ubuntu stonking: gridengine-common 8.1.9+dfsg-13.2ubuntu1 Β· SISSL
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms