Red Hat Bugzilla – Full Text Bug Listing |
Summary: | RFE Make condor_history -backwards the default, add -forwards | ||
---|---|---|---|
Product: | Red Hat Enterprise MRG | Reporter: | Timothy St. Clair <tstclair> |
Component: | condor | Assignee: | Timothy St. Clair <tstclair> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Daniel Horák <dahorak> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | Development | CC: | dahorak, esammons, matt, mkudlej, tstclair |
Target Milestone: | 2.3 | Keywords: | FutureFeature, TestOnly |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | condor-7.8.2-0.3 | Doc Type: | Rebase: Enhancements Only |
Doc Text: |
Important: if this rebase also contains *bug fixes* (or contains only bug fixes), select the correct option from the Doc Type drop-down list.
Rebase package(s) to version:
condor-7.8 series
Highlights and notable enhancements:
condor_history now prints in reverse chronological order, so most recent jobs are first. |
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2013-05-06 09:39:01 EDT | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | ||
Bug Depends On: | |||
Bug Blocks: | 845292 |
Description
Timothy St. Clair
2012-08-21 15:10:57 EDT
Tested and verified on RHEL 5.9/6.4 - i386/x86_64:
# rpm -q condor
condor-7.8.8-0.4.1.el5.i386
# condor_history -h
Usage: condor_history [options]
where [options] are
...
-backwards List jobs in reverse chronological order
-forwards List jobs in chronological order
...
# condor_history
ID OWNER SUBMITTED RUN_TIME ST COMPLETED CMD
2.2 test 4/23 13:09 0+00:01:00 C 4/23 13:16 /bin/sleep 60
2.1 test 4/23 13:09 0+00:01:00 C 4/23 13:15 /bin/sleep 60
2.0 test 4/23 13:09 0+00:01:00 C 4/23 13:14 /bin/sleep 60
1.2 test 4/23 13:09 0+00:01:00 C 4/23 13:13 /bin/sleep 60
1.1 test 4/23 13:09 0+00:01:01 C 4/23 13:12 /bin/sleep 60
1.0 test 4/23 13:09 0+00:01:00 C 4/23 13:11 /bin/sleep 60
# condor_history -backwards
ID OWNER SUBMITTED RUN_TIME ST COMPLETED CMD
2.2 test 4/23 13:09 0+00:01:00 C 4/23 13:16 /bin/sleep 60
2.1 test 4/23 13:09 0+00:01:00 C 4/23 13:15 /bin/sleep 60
2.0 test 4/23 13:09 0+00:01:00 C 4/23 13:14 /bin/sleep 60
1.2 test 4/23 13:09 0+00:01:00 C 4/23 13:13 /bin/sleep 60
1.1 test 4/23 13:09 0+00:01:01 C 4/23 13:12 /bin/sleep 60
1.0 test 4/23 13:09 0+00:01:00 C 4/23 13:11 /bin/sleep 60
# condor_history -forwards
ID OWNER SUBMITTED RUN_TIME ST COMPLETED CMD
1.0 test 4/23 13:09 0+00:01:00 C 4/23 13:11 /bin/sleep 60
1.1 test 4/23 13:09 0+00:01:01 C 4/23 13:12 /bin/sleep 60
1.2 test 4/23 13:09 0+00:01:00 C 4/23 13:13 /bin/sleep 60
2.0 test 4/23 13:09 0+00:01:00 C 4/23 13:14 /bin/sleep 60
2.1 test 4/23 13:09 0+00:01:00 C 4/23 13:15 /bin/sleep 60
2.2 test 4/23 13:09 0+00:01:00 C 4/23 13:16 /bin/sleep 60
# condor_history -l | grep -i -e completiondate -e globaljobid -e "^$"
GlobalJobId = "dhcp-37-144.lab.eng.brq.redhat.com#2.2#1366715384"
CompletionDate = 1366715764
GlobalJobId = "dhcp-37-144.lab.eng.brq.redhat.com#2.1#1366715384"
CompletionDate = 1366715704
GlobalJobId = "dhcp-37-144.lab.eng.brq.redhat.com#2.0#1366715384"
CompletionDate = 1366715644
GlobalJobId = "dhcp-37-144.lab.eng.brq.redhat.com#1.2#1366715383"
CompletionDate = 1366715584
GlobalJobId = "dhcp-37-144.lab.eng.brq.redhat.com#1.1#1366715383"
CompletionDate = 1366715524
GlobalJobId = "dhcp-37-144.lab.eng.brq.redhat.com#1.0#1366715383"
CompletionDate = 1366715463
# condor_history -l -backwards | grep -i -e completiondate -e globaljobid -e "^$"
GlobalJobId = "dhcp-37-144.lab.eng.brq.redhat.com#2.2#1366715384"
CompletionDate = 1366715764
GlobalJobId = "dhcp-37-144.lab.eng.brq.redhat.com#2.1#1366715384"
CompletionDate = 1366715704
GlobalJobId = "dhcp-37-144.lab.eng.brq.redhat.com#2.0#1366715384"
CompletionDate = 1366715644
GlobalJobId = "dhcp-37-144.lab.eng.brq.redhat.com#1.2#1366715383"
CompletionDate = 1366715584
GlobalJobId = "dhcp-37-144.lab.eng.brq.redhat.com#1.1#1366715383"
CompletionDate = 1366715524
GlobalJobId = "dhcp-37-144.lab.eng.brq.redhat.com#1.0#1366715383"
CompletionDate = 1366715463
# condor_history -l -forwards | grep -i -e completiondate -e globaljobid -e "^$"
GlobalJobId = "dhcp-37-144.lab.eng.brq.redhat.com#1.0#1366715383"
CompletionDate = 1366715463
GlobalJobId = "dhcp-37-144.lab.eng.brq.redhat.com#1.1#1366715383"
CompletionDate = 1366715524
GlobalJobId = "dhcp-37-144.lab.eng.brq.redhat.com#1.2#1366715383"
CompletionDate = 1366715584
GlobalJobId = "dhcp-37-144.lab.eng.brq.redhat.com#2.0#1366715384"
CompletionDate = 1366715644
GlobalJobId = "dhcp-37-144.lab.eng.brq.redhat.com#2.1#1366715384"
CompletionDate = 1366715704
GlobalJobId = "dhcp-37-144.lab.eng.brq.redhat.com#2.2#1366715384"
CompletionDate = 1366715764
Command condor_history prints jobs by default in reverse chronological order, so most recent jobs are first.
Parameters -backwards, -forwards work's as excepted.
>>> VERIFIED
|