7
7
\fBsreport\fR [\fIOPTIONS\fR...] [\fICOMMAND\fR...]
10
\fBsreport\fR is used to generate certain reports. It provides a view into accounting data gathered from slurm via
11
the account information maintained within a database with the interface
12
being provided by the \fBslurmdbd\fR (Slurm Database daemon).
10
\fBsreport\fR is used to generate reports of job usage and cluster
11
utilization for SLURM jobs saved to the SLURM Database,
33
33
Print no warning or informational messages, only error messages.
36
Specify the output time format.
37
Time format options are case insensitive and may be abbreviated.
38
The default format is Minutes.
36
Specify the output time format. Time format options are case
37
insensitive and may be abbreviated. The default format is Minutes.
39
38
Supported time format options are listed in the \fBtime\fP command
132
131
\fBjob\fP \<REPORT\> \<OPTIONS\>
134
133
\fBuser\fP \<REPORT\> \<OPTIONS\>
138
136
\<REPORT\> options for each type include:
139
\fBcluster\fP \- AccountUtilizationByUser, UserUtilizationByAccount,
139
\- AccountUtilizationByUser, UserUtilizationByAccount,
140
140
UserUtilizationByWckey, Utilization, WCKeyUtilizationByUser
142
\fBjob\fP \- SizesByAccount, SizesByWckey
144
\fBreservation\fP \- Utilization
146
\fBuser\fP \- TopUsage
143
\- SizesByAccount, SizesByAccountAndWcKey, SizesByWckey
151
.SH "REPORT DESCRIPTION"
155
154
.B cluster AccountUtilizationByUser
156
155
This report will display account utilization as it appears on the
189
188
the root account and you will receive the sub accounts for the
191
.B job SizesByAccountAndWckey
192
This report is very similar to SizesByAccount with the difference being
193
each account is pair with wckeys so the identifier is account:wckey
194
instead of just account so there will most likely be multiple accounts
195
listed depending on the number of wckeys used.
192
197
.B job SizesByWckey
193
198
This report will dispay the amount of time for each wckey for job ranges
194
199
specified by the 'grouping=' option.
207
212
Each report type has various options...
215
.B OPTIONS FOR ALL REPORT TYPES
214
219
Use all monitored clusters. Default is local cluster.
216
221
.B Clusters=<OPT>
217
222
List of clusters to include in report. Default is local cluster.
220
226
Period ending for report. Default is 23:59:59 of previous day.
221
227
Valid time formats are...
222
229
HH:MM[:SS] [AM|PM]
223
231
MMDD[YY] or MM/DD[/YY] or MM.DD[.YY]
224
233
MM/DD[/YY]\-HH:MM[:SS]
226
235
YYYY\-MM\-DD[THH:MM[:SS]]
230
239
Comma separated list of fields to display in report.
232
241
When using the format option for listing various fields you can put a
233
242
%NUMBER afterwards to specify how many characters should be printed.
235
i.e. format=name%30 will print 30 characters of field name right
244
e.g. format=name%30 will print 30 characters of field name right
236
245
justified. A \-30 will print 30 characters left justified.
240
249
Period start for report. Default is 00:00:00 of previous day.
241
250
Valid time formats are...
242
252
HH:MM[:SS] [AM|PM]
243
254
MMDD[YY] or MM/DD[/YY] or MM.DD[.YY]
245
MM/DD[/YY]\-HH:MM[:SS] YYYY\-MM\-DD[THH:MM[:SS]]
256
MM/DD[/YY]\-HH:MM[:SS]
258
YYYY\-MM\-DD[THH:MM[:SS]]
261
.B OPTIONS SPECIFICALLY FOR CLUSTER REPORTS
253
264
.B Accounts=<OPT>
254
265
When used with the UserUtilizationByAccount, or
255
266
AccountUtilizationByUser, List of accounts to include in report.
267
278
When used with the UserUtilizationByWckey or WCKeyUtilizationByUser,
268
279
List of wckeys to include in report. Default is all.
282
.B OPTIONS SPECIFICALLY FOR JOB REPORTS
275
285
.B Accounts=<OPT>
276
List of accounts to use for the report Default is all. The SizesByAccount
286
List of accounts to use for the report Default is all. The SizesByAccount(*)
277
287
report only displays 1 hierarchical level. If accounts are specified
278
288
the next layer of accounts under those specified will be displayed,
279
not the accounts specified. In the SizesByAccount reports the default
289
not the accounts specified. In the SizesByAccount(*) reports the default
280
290
for accounts is root. This explanation does not apply when ran with
281
291
the FlatView option.
284
When used with the SizesbyAccount will not group accounts in a
294
When used with the SizesbyAccount(*) will not group accounts in a
285
295
hierarchical level, but print each account where jobs ran on a
286
296
separate line without any hierarchy.
289
299
List of group ids to include in report. Default is all.
291
301
.B Grouping=<OPT>
292
Comma separated list of size groupings. (i.e. 50,100,150 would group job cpu count 1-49, 50-99, 100-149, > 150).
302
Comma separated list of size groupings. (e.g. 50,100,150 would group
303
job cpu count 1-49, 50-99, 100-149, > 150). grouping=individual will
304
result in a single column for each job size found.
295
307
List of jobs/steps to include in report. Default is all.
311
323
List of wckeys to use for the report. Default is all. The
312
324
SizesbyWckey report all users summed together. If you want only
313
325
certain users specify them them with the Users= option.
328
.B OPTIONS SPECIFICALLY FOR RESERVATION REPORTS
320
331
List of reservations to use for the report. Default is all.
323
334
Only show reservations that used these nodes. Default is all.
338
.B OPTIONS SPECIFICALLY FOR USER REPORTS
330
341
.B Accounts=<OPT>
331
342
List of accounts to use for the report. Default is all.
342
353
List of users jobs to include in report. Default is all.
347
.SH "Format Options for Each Report"
350
AccountUtilizationByUser
351
UserUtilizationByAccount
352
\- Accounts, Cluster, CPUCount, Login, Proper, Used
353
UserUtilizationByWckey
354
WCKeyUtilizationByUser
355
\- Cluster, CPUCount, Login, Proper, Used, Wckey
357
\- Allocated, Cluster, CPUCount, Down, Idle, Overcommited,
358
PlannedDown, Reported, Reserved
368
\- Allocated, Associations, Cluster, CPUCount, CPUTime,
369
End, Idle, Name, Nodes, Start, TotalTime
373
\- Account, Cluster, Login, Proper, Used
355
.SH "FORMAT OPTIONS FOR EACH REPORT"
357
\fBFORMAT OPTIONS FOR CLUSTER REPORTS\fP
359
AccountUtilizationByUser:
361
UserUtilizationByAccount:
363
Accounts, Cluster, CPUCount, Login, Proper, Used
366
UserUtilizationByWckey:
368
WCKeyUtilizationByUser:
370
Cluster, CPUCount, Login, Proper, Used, Wckey
375
Allocated, Cluster, CPUCount, Down, Idle, Overcommited, PlannedDown, Reported, Reserved
378
\fBFORMAT OPTIONS FOR JOB REPORTS\fP
380
SizesByAccount, SizesByAccountAndWckey:
390
\fBFORMAT OPTIONS FOR RESERVATION REPORTS\fP
394
Allocated, Associations, Cluster, CPUCount, CPUTime, End, Idle, Name, Nodes, Start, TotalTime
397
\fBFORMAT OPTIONS FOR USER REPORTS\fP
401
Account, Cluster, Login, Proper, Used
376
404
All commands and options are case-insensitive.
381
409
\fBsreport job sizesbyaccount\fP