NERSCPowering Scientific Discovery Since 1974

Resolved: qstat -a does not show correct hours in elpsed time for running jobs

July 12, 2013 by Helen He


After the Torque/Moab upgrade on 6/19, the elapsed run time display from "qstat -a" does not show correct values for hours field for running jobs.  The minutes and seconds numbers are correct.  A job uses less than one hour displays correct elapsed time such as 50:03, but once a job's running time is over 59 min, the hours field is always displayed as 0.


For a running job, use "qs" command, to see the requested hours and correct elapsed time;  or use "showq" command, to see the requested houts and correct remaining hours;  or use "qstat -f" command to see the "start_time" and the correct "Walltime.Remaining" value in seconds.


This issue has been resolved with the batch software upgrade.