[slurm-users] Need to calculate total runtime/walltime for one year
Sudeep Narayan Banerjee
snbanerjee at iitgn.ac.in
Sat Apr 11 15:05:20 UTC 2020
Hi,
I want to calculate the total walltime or runtime for all jobs submitted
by each user in a year. I am using the syntax as below and it is also
generating some output.
We have walltime set for queues (main & main_new) as 48hrs only but the
below is giving me hours ranging from 15hrs to 56 hours of even more. I
am missing anything from logical/analytical point of view or the syntax
is not correct with respect to the desired information ? Many thanks for
any suggestion.
[root at hpc ~]# sacct --format=user,ncpus,state,CPUTime
--starttime=04/01/19 --endtime=03/31/20 | grep mithunr
mithunr 32 COMPLETED 15-10:34:40
mithunr 16 COMPLETED 00:02:56
mithunr 16 COMPLETED 02:22:40
mithunr 16 COMPLETED 00:00:48
mithunr 16 COMPLETED 00:00:32
mithunr 16 FAILED 00:00:32
mithunr 16 FAILED 00:00:32
mithunr 16 FAILED 00:00:48
mithunr 16 FAILED 00:00:32
mithunr 16 FAILED 00:00:32
mithunr 0 CANCELLED+ 00:00:00
mithunr 16 FAILED 00:00:32
mithunr 32 COMPLETED 00:02:08
mithunr 0 CANCELLED+ 00:00:00
mithunr 32 COMPLETED 00:01:36
mithunr 16 FAILED 00:00:48
mithunr 32 COMPLETED 33-02:58:08
mithunr 32 COMPLETED 56-01:23:12
.......................
......................
......................
--
Thanks & Regards,
Sudeep Narayan Banerjee
System Analyst | Scientist B
Information System Technology Facility
Academic Block 5 | Room 110
Indian Institute of Technology Gandhinagar
Palaj, Gujarat 382355 INDIA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20200411/c5f5a7bc/attachment.htm>
More information about the slurm-users
mailing list