[torqueusers] prevent log deletion / jobs with no time limit

Bas van der Vlies basv at sara.nl
Tue Feb 23 02:04:05 MST 2010


On 23-02-10 10:00, Vincent LIARD wrote:
>
>>>>>> 1) How to preserve torque logs forever ?
>>>>>> (so that tracejob can be used on it any time)
>>>
>>> $ tracejob 408
>>> /var/lib/torque/server_priv/accounting/20100223: No such file or directory
>>> /var/lib/torque/server_logs/20100223: No matching job records located
>>> /var/lib/torque/mom_logs/20100223: No such file or directory
>>> /var/lib/torque/sched_logs/20100223: No such file or directory
>>
>>
>> /var/lib/torque/server_logs/20100223: No matching job records located
>>
>> try:
>>    tracejob -n 3 408
>>
>> {{{
>> tracejob
>>      -n : number of days in the past to look for job(s) [default 1]
>> }}}
>
> So, the whole story is that my logs were properly archived but filtered
> out when read with tracejob.
> I should have noticed if I read tracejob doc more seriously.
> I'm sorry to be such a nuisance.
> Anyway, this helped me much, I was seeing no end to this one.
> Thank you!
>

Your welcome. Sometimes the solutions are "simple" ;-)

-- 
********************************************************************
*  Bas van der Vlies                    e-mail: basv at sara.nl       *
*  SARA - Academic Computing Services   Amsterdam, The Netherlands *
********************************************************************


More information about the torqueusers mailing list