... | ... | @@ -102,3 +102,23 @@ $ setenv SQUEUE_FORMAT "%.7i %.8u %.8a %.9P %.5D %.2t %.19S %.8M %.10l %.10Q" |
|
|
## Display the job script for one of your jobs
|
|
|
|
|
|
$ scontrol -dd show job <jobID>
|
|
|
|
|
|
## Show all the jobs you have run today
|
|
|
|
|
|
```
|
|
|
$ sacct -X
|
|
|
JobID JobName Partition Account AllocCPUS State ExitCode
|
|
|
------------ ---------- ---------- ---------- ---------- ---------- --------
|
|
|
1732343 hostname gpus ici 3 FAILED 1:0
|
|
|
1732350 hostname compute ici 48 COMPLETED 0:0
|
|
|
1732412 bash gpus gpu-milcom 10 CANCELLED+ 0:0
|
|
|
```
|
|
|
|
|
|
## Show all the job steps that ran within a specific job
|
|
|
|
|
|
```
|
|
|
$ sacct -j 1732411
|
|
|
JobID JobName Partition Account AllocCPUS State ExitCode
|
|
|
------------ ---------- ---------- ---------- ---------- ---------- --------
|
|
|
1732411 hostname gpus gpu-milcom 4 COMPLETED 0:0
|
|
|
``` |