[torqueusers] Question to Torque community regarding display of completed jobs in qstat

Craig Tierney - NOAA Affiliate craig.tierney at noaa.gov
Wed Dec 5 09:57:54 MST 2012


On Tue, Dec 4, 2012 at 2:42 PM, David Beer <dbeer at adaptivecomputing.com>wrote:

>
>> 3) Unless I reachitect our Torque servers, users never have any access to
>> the information to get the exit status from the log files.  Plus that still
>> requires parsing ascii log files which is not efficient (where keeping the
>> exit code in memory is efficient).
>>
>
> The qstat -f output for a job is a way to get the exit status for a job.
>
> $ qstat -f 192 | grep exit
>     exit_status = 0
>
>
This is exactly what I want to do.  But that requires setting
keep_completed_jobs to 86400.  This means I will have 30000+ jobs in
completed state, slowing down the response of qstat (and I doubt people
want to see the completed jobs most of the time).  Hence the point of this
discussion.

Craig


>
> --
> David Beer | Senior Software Engineer
> Adaptive Computing
>
>
> _______________________________________________
> torqueusers mailing list
> torqueusers at supercluster.org
> http://www.supercluster.org/mailman/listinfo/torqueusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.supercluster.org/pipermail/torqueusers/attachments/20121205/4fa90a35/attachment.html 


More information about the torqueusers mailing list