<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Dear Pankaj,<br>
      <br>
      To search older jobs, you have to use "-n" option. For instance:
      "tracejob -n 3 $job_id" should search the job in the log files of
      the last three days. <br>
      <br>
      You can find more information here:<br>
      <br>
<a class="moz-txt-link-freetext" href="http://www.clusterresources.com/torquedocs21/11.1troubleshooting.shtml#tracejob">http://www.clusterresources.com/torquedocs21/11.1troubleshooting.shtml#tracejob</a><br>
      <br>
      Regards,<br>
      <br>
      Carles<br>
      <br>
      On 10/23/2013 09:44 AM, Pankaj Dorlikar wrote:<br>
    </div>
    <blockquote
cite="mid:CAKLBvTfSTOxz0hqWpXgzFJF_KDRKOjnDgGbnxZnKzqE7Od7uLA@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>thanks a lot sir, for the reply. it is very useful.
          however, -p flag of tracejob always try to look in the current
          day's log file only.<br>
          <br>
        </div>
        e.g. job with id 258295 was started on 19 th oct 13 and ended on
        21 st Oct 13. I have included both files in the
        /archive/sched_logs/ directory, but it always look for the
        current days file only. <br>
        <div><br>
          tracejob -p /archive/sched_logs/oct13 258295<br>
          <br>
          /archive/sched_logs/oct13/server_priv/accounting/20131023: No
          such file or directory<br>
          /archive/sched_logs/oct13/server_logs/20131023: No such file
          or directory<br>
          /archive/sched_logs/oct13/mom_logs/20131023: No such file or
          directory<br>
          /archive/sched_logs/oct13/sched_logs/20131023: No such file or
          directory<br>
          <br>
        </div>
        <div>thanks for help once again.<br>
        </div>
        <div><br>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">On Wed, Oct 23, 2013 at 2:28 AM,
          Andrus, Brian Contractor <span dir="ltr">&lt;<a
              moz-do-not-send="true" href="mailto:bdandrus@nps.edu"
              target="_blank">bdandrus@nps.edu</a>&gt;</span> wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div link="blue" vlink="purple" lang="EN-US">
              <div>
                <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">You
                    may want to move logs to an archived area.</span></p>
                <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Then
                    you could use the -p option to specify where they
                    are.</span></p>
                <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Eg:
                    tracejob -p /archive/torque/Jan2013 &lt;jobid&gt;</span></p>
                <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">&nbsp;</span></p>
                <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Then
                    it would look at /archive/torque/Jan2013/*logs</span></p>
                <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">&nbsp;</span></p>
                <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">This
                    doesn&#8217;t cover the corner case of a job the spans the
                    dividing period, but it may work for you.</span></p>
                <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">&nbsp;</span></p>
                <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Otherwise,
                    create an alias to a script that will grep as you
                    need.</span></p>
                <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">&nbsp;</span></p>
                <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">&nbsp;</span></p>
                <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Brian
                    Andrus</span></p>
                <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">ITACS/Research
                    Computing</span></p>
                <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Naval
                    Postgraduate School</span></p>
                <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Monterey,
                    California</span></p>
                <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">voice:
                    831-656-6238</span></p>
                <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">&nbsp;</span></p>
                <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">&nbsp;</span></p>
                <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">&nbsp;</span></p>
                <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">&nbsp;</span></p>
                <div style="border:none;border-left:solid blue
                  1.5pt;padding:0in 0in 0in 4.0pt">
                  <div>
                    <div style="border:none;border-top:solid #b5c4df
                      1.0pt;padding:3.0pt 0in 0in 0in">
                      <p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">
                          <a moz-do-not-send="true"
                            href="mailto:torqueusers-bounces@supercluster.org"
                            target="_blank">torqueusers-bounces@supercluster.org</a>
                          [mailto:<a moz-do-not-send="true"
                            href="mailto:torqueusers-bounces@supercluster.org"
                            target="_blank">torqueusers-bounces@supercluster.org</a>]
                          <b>On Behalf Of </b>Pankaj Dorlikar<br>
                          <b>Sent:</b> Monday, October 21, 2013 10:19 PM<br>
                          <b>To:</b> torqueusers<br>
                          <b>Subject:</b> [torqueusers] regarding
                          tracejob command</span></p>
                    </div>
                  </div>
                  <div>
                    <div class="h5">
                      <p class="MsoNormal">&nbsp;</p>
                      <div>
                        <div>
                          <div>
                            <div>
                              <p class="MsoNormal"
                                style="margin-bottom:12.0pt">Hi,</p>
                            </div>
                            <p class="MsoNormal"
                              style="margin-bottom:12.0pt">&nbsp;We have
                              torque version : 2.5.8. How can we specify
                              the pbs server log file as argument ot
                              tracejob command?
                              <br>
                              <br>
                              To see the job details of the old jobs
                              using tracejob command, -n &lt;no. fo
                              days&gt; needs to be provided, which
                              traces through all the previous logs till
                              it reaches that day. THis takes very long
                              time if the job is very old.</p>
                          </div>
                          <p class="MsoNormal"
                            style="margin-bottom:12.0pt">To avoid this,
                            and if we know the job start date, can't we
                            specify that day's log file as the argument
                            to tracejob, to see the job details.
                          </p>
                        </div>
                        <p class="MsoNormal">Or is there any solution to
                          this issue?<span style="color:#888888"><br
                              clear="all">
                          </span></p>
                        <div>
                          <div>
                            <div>
                              <div>
                                <p class="MsoNormal"><span
                                    style="color:#888888">&nbsp;</span></p>
                              </div>
                            </div>
                          </div>
                        </div>
                        <p class="MsoNormal"><br clear="all">
                          <br>
                          -- <br>
                          Pankaj V. Dorlikar </p>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
            <br>
            _______________________________________________<br>
            torqueusers mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:torqueusers@supercluster.org">torqueusers@supercluster.org</a><br>
            <a moz-do-not-send="true"
              href="http://www.supercluster.org/mailman/listinfo/torqueusers"
              target="_blank">http://www.supercluster.org/mailman/listinfo/torqueusers</a><br>
            <br>
          </blockquote>
        </div>
        <br>
        <br clear="all">
        <br>
        -- <br>
        Pankaj V. Dorlikar
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
torqueusers mailing list
<a class="moz-txt-link-abbreviated" href="mailto:torqueusers@supercluster.org">torqueusers@supercluster.org</a>
<a class="moz-txt-link-freetext" href="http://www.supercluster.org/mailman/listinfo/torqueusers">http://www.supercluster.org/mailman/listinfo/torqueusers</a>
</pre>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Carles Acosta i Silva
PIC (Port d'Informaci&oacute; Cient&iacute;fica)
Campus UAB, Edifici D
E-08193 Bellaterra, Barcelona
Tel: +34 93 581 33 08
Fax: +34 93 581 41 10
<a class="moz-txt-link-freetext" href="http://www.pic.es">http://www.pic.es</a> 
Av&iacute;s - Aviso - Legal Notice: <a class="moz-txt-link-freetext" href="http://www.ifae.es/legal.html">http://www.ifae.es/legal.html</a></pre>
  </body>
</html>