table of contents
SJOBEXITMOD(1) | User Contributed Perl Documentation | SJOBEXITMOD(1) |
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¶
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,cluster
OPTIONS¶
- -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
2025-02-07 | perl v5.40.1 |