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

Glen Beane glen.beane at gmail.com
Mon Dec 3 12:55:44 MST 2012

On Sun, Dec 2, 2012 at 1:24 PM, Craig Tierney - NOAA Affiliate
<craig.tierney at noaa.gov> wrote:
> Hello all,
> I have a question for Torque users regarding the display of completed jobs
> in qstat.  Do others find the listing of completed jobs by default via qstat
> makes finding things in the output much more difficult and completely
> unnecessary?  Having the completed jobs in qstat can significantly slow down
> qstat if you have a lot (thousands) of completed jobs which is another
> hassle.
> I asking this because I need to be able to get error codes from completed
> jobs (for minutes to hours after completion).  To do this, they have to
> still be in the queue.  This function is very important, but not to anyone
> who runs qstat by hand.  Grid Engine had a way to get completed jobs, but
> only when asked for.

you can use the "tracejob" command to get information, including the
exit status, of completed jobs.

More information about the torqueusers mailing list