<div dir="ltr"><div dir="ltr"><div>You can optimize your query as follows<br></div><div><br></div><div>[root@hpc ~]# sacct 
        --format=user,ncpus,state,elapsed --starttime=01/1/20
        --endtime=03/31/20 --state=COMPLETED -u mithunr<br></div></div><div><br></div><div><br></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El sáb., 11 abr. 2020 a las 11:37, Sudeep Narayan Banerjee (<<a href="mailto:snbanerjee@iitgn.ac.in">snbanerjee@iitgn.ac.in</a>>) escribió:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  
    
  
  <div>
    <p><font face="Nimbus Roman No9 L">Dear Michael: Thank you, I also
        did the same now and seems to work !!! Thanks</font></p>
    <p><font face="Nimbus Roman No9 L">[root@hpc ~]# sacct 
        --format=user,ncpus,state,elapsed --starttime=01/1/20
        --endtime=03/31/20 | grep COMPLETED | grep mithunr<br>
          mithunr         32  COMPLETED 1-12:36:02 <br>
          mithunr         32  COMPLETED 1-08:36:56 <br>
          mithunr         32  COMPLETED 1-14:54:28 <br>
          mithunr         32  COMPLETED 1-02:46:46 <br>
          mithunr         32  COMPLETED 1-11:07:10 <br>
          mithunr         32  COMPLETED 1-21:47:19 <br>
          mithunr         32  COMPLETED 1-12:38:04 <br>
          mithunr         32  COMPLETED 1-21:44:05 <br>
          mithunr         32  COMPLETED 1-09:34:25 <br>
          mithunr         32  COMPLETED 1-09:25:49 <br>
          mithunr         32  COMPLETED   20:46:55 <br>
          mithunr         32  COMPLETED   22:56:59 <br>
          mithunr         32  COMPLETED   16:05:14 <br>
          mithunr         32  COMPLETED 1-16:32:38 <br>
          mithunr         32  COMPLETED 1-23:55:13 <br>
          mithunr         32  COMPLETED   16:36:48 <br>
          mithunr         32  COMPLETED 1-11:40:56 <br>
      </font><br>
    </p>
    <pre cols="72">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</pre>
    <div>On 11/04/20 9:00 pm, Renfro, Michael
      wrote:<br>
    </div>
    <blockquote type="cite">
      
      Unless I’m misreading it, you have a wall time limit of 2 days,
      and jobs that use up to 32 CPUs. So a total CPU time of up to 64
      CPU-days would be possible for a single job.
      <div><br>
      </div>
      <div>So if you want total wall time for jobs instead of CPU time,
        then you’ll want to use the Elapsed attribute, not CPUTime.<br>
        <br>
        <div dir="ltr">
          <div><span style="background-color:rgba(255,255,255,0)">--</span></div>
          <span style="background-color:rgba(255,255,255,0)">Mike
            Renfro, PhD  / HPC Systems Administrator, Information
            Technology Services<br>
            <a href="tel:931%20372-3601" dir="ltr" target="_blank">931 372-3601</a>      /
            Tennessee Tech University</span></div>
        <div dir="ltr"><br>
          <blockquote type="cite">On Apr 11, 2020, at 10:05 AM, Sudeep
            Narayan Banerjee <a href="mailto:snbanerjee@iitgn.ac.in" target="_blank"><snbanerjee@iitgn.ac.in></a> wrote:<br>
            <br>
          </blockquote>
        </div>
        <blockquote type="cite">
          <div dir="ltr"><span>Hi,</span>
            <div>
              <p><font face="Nimbus Roman No9 L">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.
                  <br>
                </font></p>
              <p><font face="Nimbus Roman No9 L">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.<br>
                </font></p>
              <p><font face="Nimbus Roman No9 L">[root@hpc ~]# sacct 
                  --format=user,ncpus,state,CPUTime --starttime=04/01/19
                  --endtime=03/31/20 |  grep mithunr<br>
                    mithunr         32  COMPLETED 15-10:34:40 <br>
                    mithunr         16  COMPLETED   00:02:56 <br>
                    mithunr         16  COMPLETED   02:22:40 <br>
                    mithunr         16  COMPLETED   00:00:48 <br>
                    mithunr         16  COMPLETED   00:00:32 <br>
                    mithunr         16     FAILED   00:00:32 <br>
                    mithunr         16     FAILED   00:00:32 <br>
                    mithunr         16     FAILED   00:00:48 <br>
                    mithunr         16     FAILED   00:00:32 <br>
                    mithunr         16     FAILED   00:00:32 <br>
                    mithunr          0 CANCELLED+   00:00:00 <br>
                    mithunr         16     FAILED   00:00:32 <br>
                    mithunr         32  COMPLETED   00:02:08 <br>
                    mithunr          0 CANCELLED+   00:00:00 <br>
                    mithunr         32  COMPLETED   00:01:36 <br>
                    mithunr         16     FAILED   00:00:48 <br>
                    mithunr         32  COMPLETED 33-02:58:08 <br>
                    mithunr         32  COMPLETED 56-01:23:12 <br>
                  .......................<br>
                  ......................<br>
                  ......................<br>
                  <br>
                </font></p>
              <pre cols="72">-- 
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</pre>
            </div>
          </div>
        </blockquote>
      </div>
    </blockquote>
  </div>

</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><br></div></div></div>