Scroll to navigation

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

A usage summary message is displayed, and sjobexitmod terminates.
Show the man page for this utility..
The name of the cluster the job ran on.
The exit code (DerivedExitCode) to be used.
List selected attributes of a completed job.
The reason (Comment) for job termination.
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

2024-03-25 perl v5.38.2