Description of problem: Command condor_q counts suspended jobs as running (in summary line). Version-Release number of selected component (if applicable): condor-7.6.5-0.6 How reproducible: 100% Steps to Reproduce: 1. Submit several jobs 2. Suspend some of then. 3. run condor_q and look to last line. Actual results: There is no item "suspended". 5 jobs; 4 idle, 1 running, 0 held Expected results: 5 jobs; 4 idle, 0 running, 0 held, 1 suspended Additional info: Bug about suspending and continuing jobs via commands: bug 635012.
Bonus - why aren't removed or completed jobs displayed?
new output will look something like *this: ID OWNER SUBMITTED RUN_TIME ST PRI SIZE CMD 49.1 tstclair 11/22 12:03 0+00:00:00 X 0 97.7 sleep 600 49.2 tstclair 11/22 12:03 0+00:02:36 S 0 97.7 sleep 600 49.3 tstclair 11/22 12:03 0+00:02:36 S 0 97.7 sleep 600 49.4 tstclair 11/22 12:03 0+00:02:35 S 0 4.2 sleep 600 49.5 tstclair 11/22 12:03 0+00:00:53 S 0 4.2 sleep 600 49.6 tstclair 11/22 12:03 0+00:00:00 I 0 0.0 sleep 600 49.7 tstclair 11/22 12:03 0+00:00:00 I 0 0.0 sleep 600 49.8 tstclair 11/22 12:03 0+00:00:00 I 0 0.0 sleep 600 49.9 tstclair 11/22 12:03 0+00:00:00 I 0 0.0 sleep 600 9 jobs; 0 completed, 1 removed, 4 idle, 0 running, 0 held, 4 suspended
(In reply to comment #2) > new output will look something like *this: [snip] > 9 jobs; 0 completed, 1 removed, 4 idle, 0 running, 0 held, 4 suspended One suggestion, even though no one should be doing it, consider putting the new fields after idle/running/held for the poor, brave souls who are parsing condor_q output.
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: C: Run condor_q via the command line when there are suspended jobs C: There is no summary information for suspended jobs F: Add summary information for all job states R: condor_q will now display summary information for all job states
Tested on RHEL 5.7/6.2 x i386/x86_64 with condor-7.6.5-0.11 and it works. -->VERIFIED
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHSA-2012-0100.html