sjobexitmod - Man Page
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 -manDescription
sjobexitmod is a wrapper which effectively does the same operation as using the
sacct utility to modify certain aspects of a completed job.
sacctmgr -i modify job jobid=1286 set DerivedExitCode=1 Comment="code error"
or to list certain aspects of a completed job.
sacct -o jobid,derivedexitcode,comment,clusterOptions
- -h
A usage summary message is displayed, and sjobexitmod terminates.
- -man
Show the man page for this utility..
- -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.
Exit Conditions
If there is an error, sjobexitmod returns either the exit status returned by sacctmgr, or a non-zero value.
Author
Written by Philip D. Eckert
Reporting Bugs
Report bugs to <pdesr@llnl.gov>
See Also
sacctmgr,sacct
Info
2025-07-25 perl v5.42.0 User Contributed Perl Documentation