SJOBEXITMOD(1)
β SJOBEXITMOD(1) β
okay bestie, so this is a User Contributed Perl Documentation page for sjobexitmod, and honestly? it's giving "little tool that does one thing and does it well" π
buckle up, it's a short ride and it slaps
β¨ NAME β¨
sjobexitmod β modifies a completed job in the slurmdbd π
π¦ SYNOPSIS π¦
sjobexitmod [-e exit_code] [-r reason_string] [-c cluster_name] JobId
sjobexitmod -l JobId
sjobexitmod -h
sjobexitmod -man
π DESCRIPTION π
so sjobexitmod is literally just a wrapper π« it "effectively" does the same operation as using the sacct utility to modify certain aspects of a completed job β same energy, different entrance:
sacctmgr -i modify job jobid=1286 set DerivedExitCode=1 Comment="code error"
or, ooh, to list certain aspects of a completed job π:
sacct -o jobid,derivedexitcode,comment,cluster
that's it. that's the whole vibe. no cap πΈ
π OPTIONS π
-hβ a usage summary message is displayed, andsjobexitmodterminates. quick lil "here's how to use me" moment and then it's gone π«Ά-manβ show the man page for this utility. iconic self-awareness β¨-ccluster_name β the name of the cluster the job ran on π-eexit_code β the exit code (DerivedExitCode) to be used π-lJobID β list selected attributes of a completed job π₯-rreason_string β the reason (Comment) for job termination π- JobId β the numeric job id. like, the actual number. yes you need it π
π EXIT CONDITIONS π
if there is an error, sjobexitmod returns either the exit status returned by sacctmgr, or a non-zero value. so like... something non-zero, either way. nobody's getting away with a sneaky 0 on a bad day π
π§ AUTHOR π§
written by Philip D. Eckert β shoutout, king ππ
π REPORTING BUGS π
report bugs to <pdesr@llnl.gov> β he's literally waiting, be nice to him tho π«Ά
π SEE ALSO π
sacctmgr, sacct β the two main characters this little wrapper is stanning π¦
and that's the whole page bestie π fr fr it's a tiny one
πΈ sign-off: this masterpiece isperl v5.40.2, dated2026-10-14β mark your calendars, it's giving timeless π
π¦ where this page comes from
- epel 10: slurm-contribs 26.05.5-1.el10_3 Β· GPL-2.0-or-later AND BSD-2-Clause AND BSD-1-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms