SJOBEXITMOD(1)

πŸ“¦
version 26.05.5 Β· 5 versions
, in epel 10

⭐ 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, and sjobexitmod terminates. 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 ✨
  • -c cluster_name β€” the name of the cluster the job ran on 🌈
  • -e exit_code β€” the exit code (DerivedExitCode) to be used πŸ’œ
  • -l JobID β€” list selected attributes of a completed job πŸ”₯
  • -r reason_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 is perl v5.40.2, dated 2026-10-14 β€” mark your calendars, it's giving timeless πŸŽ€
πŸ“¦ where this page comes from