Changeset 35356
- Timestamp:
- Apr 4, 2013, 10:21:29 AM (13 years ago)
- File:
-
- 1 edited
-
trunk/pstamp/scripts/psstatus (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pstamp/scripts/psstatus
r30692 r35356 68 68 IFNULL(depcount, 0) AS 'Image updates' 69 69 , timestamp AS 'last state change (UTC)' 70 , registered AS 'Submit time (UTC)' 70 71 FROM ( 71 72 SELECT … … 77 78 pstampRequest.fault, 78 79 timestamp, 80 registered, 79 81 IFNULL(priority,10000) AS priority 80 82 FROM pstampRequest 81 83 LEFT JOIN Label USING(label) 82 84 WHERE pstampRequest.state = 'run' or pstampRequest.state ='new' 85 OR pstampRequest.state = 'parsed' 83 86 -- OR pstampRequest.state = 'run.wait' 84 87 ) as unfinishedReq … … 89 92 FROM pstampRequest JOIN pstampJob USING(req_id) 90 93 WHERE (pstampRequest.state = 'run' or pstampRequest.state = 'new' 91 OR pstampRequest.state = 'run.wait') 94 OR pstampRequest.state = 'run.wait' 95 OR pstampRequest.state = 'parsed') 92 96 GROUP BY req_id 93 97 ) as rowCounts … … 101 105 JOIN pstampDependent USING(dep_id) 102 106 WHERE (pstampRequest.state = 'run' or pstampRequest.state = 'new' 107 OR pstampRequest.state = 'parsed' 103 108 OR pstampRequest.state = 'run.wait') 104 109 AND dep_id > 0 … … 178 183 IFNULL(faulted,0) AS 'Faulted Jobs', 179 184 IFNULL(depcount, 0) AS 'Image updates completed', 180 timestamp AS 'Completion Time (UTC)' 185 timestamp AS 'Completion Time (UTC)', 186 registered AS 'Submit Time (UTC)' 181 187 FROM ( 182 188 SELECT … … 187 193 -- pstampRequest.state, 188 194 -- pstampRequest.fault, 189 timestamp 195 timestamp, 196 registered 190 197 FROM pstampRequest 191 198 WHERE pstampRequest.state = 'stop'
Note:
See TracChangeset
for help on using the changeset viewer.
