Summary: | Question about sreport and job timing | ||
---|---|---|---|
Product: | Slurm | Reporter: | Darby Vicker <darby.vicker-1> |
Component: | Accounting | Assignee: | Stephen Kendall <stephen> |
Status: | OPEN --- | QA Contact: | |
Severity: | 4 - Minor Issue | ||
Priority: | --- | ||
Version: | 24.11.0 | ||
Hardware: | Linux | ||
OS: | Linux | ||
Site: | Johnson Space Center | Alineos Sites: | --- |
Atos/Eviden Sites: | --- | Confidential Site: | --- |
Coreweave sites: | --- | Cray Sites: | --- |
DS9 clusters: | --- | HPCnow Sites: | --- |
HPE Sites: | --- | IBM Sites: | --- |
NOAA SIte: | --- | NoveTech Sites: | --- |
Nvidia HWinf-CS Sites: | --- | OCF Sites: | --- |
Recursion Pharma Sites: | --- | SFW Sites: | --- |
SNIC sites: | --- | Tzag Elita Sites: | --- |
Linux Distro: | --- | Machine Name: | |
CLE Version: | Version Fixed: | ||
Target Release: | --- | DevPrio: | --- |
Emory-Cloud Sites: | --- |
Description
Darby Vicker
2025-03-27 10:08:14 MDT
In 'sreport', your guess is correct - jobs that are running when a rollup is performed will have usage so far included in the rollup period. For example, this job was submitted shortly before the top of the hour and shows some usage in that hourly report: $ sreport cluster AccountUtilizationByUser start=14:00 end=15:00; sacct -XS now-2hour -o jobid,jobname,start,end,alloccpus -------------------------------------------------------------------------------- Cluster/Account/User Utilization 2025-03-27T14:00:00 - 2025-03-27T14:59:59 (3600 secs) Usage reported in CPU Minutes -------------------------------------------------------------------------------- Cluster Account Login Proper Name Used Energy --------- --------------- --------- --------------- -------- -------- minesofm+ root 3 0 minesofm+ main 3 0 minesofm+ main stephen ,,, 3 0 JobID JobName Start End AllocCPUS ------------ ---------- ------------------- ------------------- ---------- 399 wrap 2025-03-27T14:56:37 2025-03-27T15:05:48 1 Let me know if you have any further questions. Best regards, Stephen Very good, thanks for the info. How frequently is do these rollups get updated? I'm wondering how long after midnight we should wait to run the report for the previous day. The rollups start at the beginning of their respective time period. In this case, the daily rollups start at midnight, then will take some time to process the data. Although the amount of time it takes to complete may vary based on the amount of data and specs of the database server, I would expect it to go quite quickly (a few minutes) in most cases. Best regards, Stephen |