[torqueusers] regarding tracejob command

Pankaj Dorlikar pankaj.dorlikar at gmail.com
Wed Oct 23 01:44:26 MDT 2013


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>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] *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
> http://www.supercluster.org/mailman/listinfo/torqueusers
>
>


-- 
Pankaj V. Dorlikar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.supercluster.org/pipermail/torqueusers/attachments/20131023/cc6ce250/attachment.html 


More information about the torqueusers mailing list