Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
doku:slurm_sacct [2015/05/28 13:49] – [Accounting Info of your project] ir | doku:slurm_sacct [2015/07/13 06:53] – markus | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Accounting | + | ====== Accounting |
+ | ===== Accounting script | ||
- | The script < | + | The script < |
{{ : | {{ : | ||
- | + | === Usage of the script === | |
- | You may give start and end time (default end time is today). Instead you may give a duration | + | You may give start time '' |
- | + | == Examples: | |
- | + | ||
- | + | ||
- | ==== Usage of the script ==== | + | |
< | < | ||
- | / | + | vsc3CoreHours.py |
- | / | + | vsc3CoreHours.py -D 7 # last week |
- | / | + | vsc3CoreHours.py -S 2015-04-23 -E 2015-05-26T00: |
+ | vsc3CoreHours.py -E 2015-05-26 # project start until 2015-05-26 | ||
+ | vsc3CoreHours.py -S 2015-04-23 | ||
</ | </ | ||
- | < | ||
- | sacct -s R -S <project start> -E < | ||
- | </ | ||
- | |||
| | ||
Line 26: | Line 21: | ||
===== sacct ===== | ===== sacct ===== | ||
- | The command '' | + | In order to customize your accounting request, the command '' |
The default output values are jobs, job steps, status, and exit codes. By specifying the format, the output of '' | The default output values are jobs, job steps, status, and exit codes. By specifying the format, the output of '' | ||
In the framework of this section only a minimal subset of options is listed. | In the framework of this section only a minimal subset of options is listed. | ||
Line 95: | Line 90: | ||
Further possible parameters for the option '' | Further possible parameters for the option '' | ||
- | ==== -X -T ==== | + | ==== -X ==== |
The option | The option | ||
< | < | ||
Line 103: | Line 98: | ||
is useful because it shows only cumulative statistics for each job, not the intermediate steps. | is useful because it shows only cumulative statistics for each job, not the intermediate steps. | ||
+ | ==== -T ==== | ||
The option | The option | ||
< | < | ||
Line 108: | Line 104: | ||
[...@... ~]$ --truncate | [...@... ~]$ --truncate | ||
</ | </ | ||
- | truncates | + | is supposed to truncate |
+ | |||
+ | //We observed unexpected behavior of this option returning start times later than end times.// | ||
+ | |||
==== Further options ==== | ==== Further options ==== | ||
Line 120: | Line 120: | ||
</ | </ | ||
+ | ==== Job Memory Usage ==== | ||
+ | < | ||
+ | sacct -j < | ||
+ | </ | ||