Slurm Dev,
I’m trying to do some stats on submission times by users so that I can identify
when users are submitting at high rates, like hundreds of jobs per minute.
This way we can work with them towards using job arrays and lessen the load on
scheduler. I’ve tried using sacct and “-S” but his gives me a range of
submission times since it looks at, I’m guessing, state changes. Example:
[syockel]$ sacct -X -S 2015-03-16 -u syockel -o jobid,user,submit,state
JobID User Submit State
------------ --------- ------------------- ----------
35138363 syockel 2015-03-12T16:18:02 PENDING
35511366 syockel 2015-03-17T10:56:57 CANCELLED+
35511426 syockel 2015-03-17T10:59:10 COMPLETED
35512007 syockel 2015-03-17T11:24:18 CANCELLED+
35512164 syockel 2015-03-17T11:27:11 CANCELLED+
35512351 syockel 2015-03-17T11:29:38 RUNNING
As you can see the first job was submitted on 2015-03-12, but I really on want
ones from yesterday until now. I’ve tried adding various “—state=“
combinations but still cannot get a list that corresponds to a submit time I
desire. Does anyone have a way to do this? Perhaps a strait DB query, but some
help would be nice.
Slurm: 14.11.4
Kernel: 2.6.32-358.14.1.el6.centos.plus.x86_64
Thanks,
~Scott
==================================
Dr. Scott Yockel | Senior Team Lead of HPC
FAS Research Computing | Harvard University
38 Oxford Street Cambridge, MA
Office: 211A | Phone: 617-496-7468
==================================