[torqueusers] regarding tracejob command

Carles Acosta cacosta at pic.es
Wed Oct 23 02:02:09 MDT 2013


Dear Pankaj,

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.

You can find more information here:

http://www.clusterresources.com/torquedocs21/11.1troubleshooting.shtml#tracejob

Regards,

Carles

On 10/23/2013 09:44 AM, Pankaj Dorlikar wrote:
> 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.
>
> 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.
>
> tracejob -p /archive/sched_logs/oct13 258295
>
> /archive/sched_logs/oct13/server_priv/accounting/20131023: No such 
> file or directory
> /archive/sched_logs/oct13/server_logs/20131023: No such file or directory
> /archive/sched_logs/oct13/mom_logs/20131023: No such file or directory
> /archive/sched_logs/oct13/sched_logs/20131023: No such file or directory
>
> thanks for help once again.
>
>
>
> On Wed, Oct 23, 2013 at 2:28 AM, Andrus, Brian Contractor 
> <bdandrus at nps.edu <mailto:bdandrus at nps.edu>> wrote:
>
>     You may want to move logs to an archived area.
>
>     Then you could use the -p option to specify where they are.
>
>     Eg: tracejob -p /archive/torque/Jan2013 <jobid>
>
>     Then it would look at /archive/torque/Jan2013/*logs
>
>     This doesn't cover the corner case of a job the spans the dividing
>     period, but it may work for you.
>
>     Otherwise, create an alias to a script that will grep as you need.
>
>     Brian Andrus
>
>     ITACS/Research Computing
>
>     Naval Postgraduate School
>
>     Monterey, California
>
>     voice: 831-656-6238
>
>     *From:*torqueusers-bounces at supercluster.org
>     <mailto:torqueusers-bounces at supercluster.org>
>     [mailto:torqueusers-bounces at supercluster.org
>     <mailto:torqueusers-bounces at supercluster.org>] *On Behalf Of
>     *Pankaj Dorlikar
>     *Sent:* Monday, October 21, 2013 10:19 PM
>     *To:* torqueusers
>     *Subject:* [torqueusers] regarding tracejob command
>
>     Hi,
>
>      We have torque version : 2.5.8. How can we specify the pbs server
>     log file as argument ot tracejob command?
>
>     To see the job details of the old jobs using tracejob command, -n
>     <no. fo days> 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.
>
>     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.
>
>     Or is there any solution to this issue?
>
>
>
>     -- 
>     Pankaj V. Dorlikar
>
>
>     _______________________________________________
>     torqueusers mailing list
>     torqueusers at supercluster.org <mailto:torqueusers at supercluster.org>
>     http://www.supercluster.org/mailman/listinfo/torqueusers
>
>
>
>
> -- 
> Pankaj V. Dorlikar
>
>
> _______________________________________________
> torqueusers mailing list
> torqueusers at supercluster.org
> http://www.supercluster.org/mailman/listinfo/torqueusers


-- 
Carles Acosta i Silva
PIC (Port d'Informació Científica)
Campus UAB, Edifici D
E-08193 Bellaterra, Barcelona
Tel: +34 93 581 33 08
Fax: +34 93 581 41 10
http://www.pic.es
Avís - Aviso - Legal Notice: http://www.ifae.es/legal.html

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.supercluster.org/pipermail/torqueusers/attachments/20131023/7cba3e59/attachment-0001.html 


More information about the torqueusers mailing list