Sponsor:

Your company here, and a link to your site. Click to find out more.

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      -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

Info

2024-01-27 perl v5.38.2 User Contributed Perl Documentation