1SJOBEXITMOD(1) User Contributed Perl Documentation SJOBEXITMOD(1)
2
3
4
6 sjobexitmod - Modifies a completed job in the slurmdbd
7
9 sjobexitmod [-e exit_code] [-r reason_string] [-c cluster_name] JobId
10 sjobexitmod -l JobId
11 sjobexitmod -h
12 sjobexitmod -man
13
15 sjobexitmod is a wrapper which effectively does the same operation as using the
16 sacct utility to modify certain aspects of a completed job.
17
18 sacctmgr -i modify job jobid=1286 set DerivedExitCode=1 Comment="code error"
19
20 or to list certain aspects of a completed job.
21
22 sacct -o jobid,derivedexitcode,comment,cluster
23
25 -h A usage summary message is displayed, and sjobexitmod terminates.
26
27 -man
28 Show the man page for this utility..
29
30 -c cluster_name
31 The name of the cluster the job ran on.
32
33 -e exit_code
34 The exit code (DerivedExitCode) to be used.
35
36 -l JobID
37 List selected attributes of a completed job.
38
39 -r reason_string
40 The reason (Comment) for job termination.
41
42 JobId
43 the numeric job id.
44
46 If there is an error, sjobexitmod returns either the exit status
47 returned by sacctmgr, or a non-zero value.
48
50 Written by Philip D. Eckert
51
53 Report bugs to <pdesr@llnl.gov>
54
56 sacctmgr,sacct
57
58
59
60perl v5.32.0 2021-01-19 SJOBEXITMOD(1)