Changeset 33949 for branches/eam_branches/ipp-20120405/ippMonitor
- Timestamp:
- May 29, 2012, 5:08:07 PM (14 years ago)
- Location:
- branches/eam_branches/ipp-20120405/ippMonitor
- Files:
-
- 23 edited
- 8 copied
-
. (modified) (1 prop)
-
Makefile.in (modified) (2 diffs)
-
czartool/czarpoll.pl (modified) (2 diffs)
-
czartool/czartool.pl (modified) (8 diffs)
-
czartool/czartool/CzarDb.pm (modified) (2 diffs)
-
czartool/czartool/DayMetrics.pm (modified) (9 diffs)
-
czartool/czartool/Gpc1Db.pm (modified) (4 diffs)
-
czartool/czartool/Plotter.pm (modified) (2 diffs)
-
czartool/roboczar.pl (modified) (1 diff)
-
def/addRunRun.d (modified) (1 diff)
-
def/addRunSummary.d (copied) (copied from trunk/ippMonitor/def/addRunSummary.d )
-
def/dvodbFaulted.d (copied) (copied from trunk/ippMonitor/def/dvodbFaulted.d )
-
def/dvodbStatus.d (copied) (copied from trunk/ippMonitor/def/dvodbStatus.d )
-
def/exposureStatus.d (modified) (1 diff)
-
def/gpc1MysqlProcessList.d (modified) (1 diff)
-
def/maskStats.d (modified) (1 diff)
-
def/mergedvodbCopy.d (copied) (copied from trunk/ippMonitor/def/mergedvodbCopy.d )
-
def/mergedvodbProcessed.d (copied) (copied from trunk/ippMonitor/def/mergedvodbProcessed.d )
-
def/mergedvodbRun.d (copied) (copied from trunk/ippMonitor/def/mergedvodbRun.d )
-
def/minidvodbProcessed.d (modified) (1 diff)
-
def/minidvodbRun.d (modified) (1 diff)
-
def/mopsStatus.d (modified) (1 diff)
-
def/warpProcessedSkyfiles_Images.d (modified) (1 diff)
-
raw/czartool_ipptopsps.php (modified) (2 diffs)
-
raw/czartool_labels.php (modified) (8 diffs)
-
raw/ipp.czar.dat (copied) (copied from trunk/ippMonitor/raw/ipp.czar.dat )
-
raw/ipp.czar.php (copied) (copied from trunk/ippMonitor/raw/ipp.czar.php )
-
raw/ipp.dvodb.dat (modified) (1 diff)
-
raw/ipp.menu.dat (modified) (1 diff)
-
raw/ipp.science.dat (modified) (1 diff)
-
raw/nightSummary.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20120405/ippMonitor
- Property svn:mergeinfo changed
/trunk/ippMonitor (added) merged: 33800-33806,33808,33814-33816,33846-33847
- Property svn:mergeinfo changed
-
branches/eam_branches/ipp-20120405/ippMonitor/Makefile.in
r32782 r33949 47 47 $(DESTWWW)/ipp.dvodb.dat \ 48 48 $(DESTWWW)/ipp.dvodb.php \ 49 $(DESTWWW)/ipp.czar.dat \ 50 $(DESTWWW)/ipp.czar.php \ 49 51 $(DESTWWW)/phptest.php \ 50 52 $(DESTWWW)/site.php \ … … 222 224 $(DESTWWW)/minidvodbCopy.php \ 223 225 $(DESTWWW)/minidvodbProcessed.php \ 226 $(DESTWWW)/mergedvodbRun.php \ 227 $(DESTWWW)/mergedvodbCopy.php \ 228 $(DESTWWW)/mergedvodbProcessed.php \ 229 $(DESTWWW)/dvodbStatus.php \ 230 $(DESTWWW)/dvodbFaulted.php \ 224 231 $(DESTWWW)/addRunRun.php \ 225 232 $(DESTWWW)/addRunProcessed.php \ 233 $(DESTWWW)/addRunSummary.php \ 226 234 $(DESTWWW)/lapSequenceSummary.php \ 227 235 $(DESTWWW)/lapRuns.php \ -
branches/eam_branches/ipp-20120405/ippMonitor/czartool/czarpoll.pl
r32775 r33949 38 38 39 39 my @stages = ( 40 "burntool",41 40 "chip", 42 41 "cam", … … 44 43 "warp", 45 44 "stack", 45 "staticsky", 46 46 "diff", 47 "magic",48 "magicDS",49 47 "dist", 50 "pub"); 48 "pub", 49 "chipbackground"); 51 50 52 51 my @ippToPspsStages = ( -
branches/eam_branches/ipp-20120405/ippMonitor/czartool/czartool.pl
r32093 r33949 32 32 my @publishingLabels = undef; 33 33 34 my @stages = ("chip", "cam", "fake", "warp", "stack", " diff", "magic", "magicDS", "dist", "pub");34 my @stages = ("chip", "cam", "fake", "warp", "stack", "staticsky", "diff", "dist", "pub", "chipbackground"); 35 35 promptPoll(); 36 36 … … 155 155 156 156 chomp($label); 157 158 printf("\n+----------------------------------------------------------------------------------------------------------------------------------------------+\n"); 159 printf("| %32s |\n", $label); 160 printf("+------------+------------+------------+------------+------------+------------+------------+------------+------------+------------+------------+\n"); 161 printf("| state | chip | cam | fake | warp | stack | diff | magic | destreak | dist | publish |\n"); 162 printf("+------------+------------+------------+------------+------------+------------+------------+------------+------------+------------+------------+\n"); 157 my $stage; 158 159 printf("\n| %32s \n", $label); 160 printf("+------------+"); 161 foreach $stage (@stages) { 162 print "--------------+" 163 } 164 printf("\n"); 165 printf("| state |"); 166 foreach $stage (@stages) { 167 168 printf("%14s|", $stage) 169 } 170 printf("\n"); 171 printf("+------------+"); 172 foreach $stage (@stages) { 173 print "--------------+" 174 } 175 printf("\n"); 163 176 164 177 my $state; 165 my $stage;166 178 my $i=0; 167 179 foreach $state (@states) { … … 172 184 foreach $stage (@stages) { 173 185 174 printf("| %10s", getStateAndFaultsString($label, $state, $stage));186 printf("|%14s", getStateAndFaultsString($label, $state, $stage)); 175 187 } 176 188 … … 179 191 } 180 192 181 printf("+------------+------------+------------+------------+------------+------------+------------+------------+------------+------------+------------+\n"); 193 printf("+------------+"); 194 foreach $stage (@stages) { 195 print "--------------+" 196 } 197 printf("\n"); 182 198 183 199 } … … 191 207 my ($state) = @_; 192 208 #print time, $/; 193 printf("\n+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+\n"); 194 printf("| %10s (any faults are shown in parentheses) |\n", $state); 195 printf("+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------+\n"); 196 printf("| no | label | distributing? | publishing? | chip | cam | fake | warp | stack | diff | magic | destreak | dist | publish |\n"); 197 printf("+-----+----------------------------------+---------------+---------------+------------+------------+------------+------------+------------+------------+------------+------------+------------+------------+\n"); 209 my $stage; 210 211 printf("|\n"); 212 printf("+-----+----------------------------------+---------------+---------------+"); 213 foreach $stage (@stages) { 214 print "--------------+" 215 } 216 printf("\n"); 217 printf("| no | label | distributing? | publishing? |"); 198 218 199 219 my $stdsLabel; … … 202 222 my $distributing; 203 223 my $publishing; 204 my $stage;205 224 my $i=1; 225 foreach $stage (@stages) { 226 227 printf("%14s|", $stage) 228 } 229 printf("\n"); 230 printf("+-----+----------------------------------+---------------+---------------+"); 231 foreach $stage (@stages) { 232 print "--------------+" 233 } 234 printf("\n"); 235 206 236 foreach $stdsLabel (@stdscienceLabels) { 207 237 … … 225 255 foreach $stage (@stages) { 226 256 227 printf("| %10s", getStateAndFaultsString($stdsLabel, $state, $stage));257 printf("|%14s", getStateAndFaultsString($stdsLabel, $state, $stage)); 228 258 } 229 259 … … 232 262 } 233 263 234 printf("+-----+----------------------------------+---------------+---------------+------------+------------+------------+------------+------------+------------+------------+------------+------------+------------+\n"); 264 printf("+-----+----------------------------------+---------------+---------------+"); 265 foreach $stage (@stages) { 266 print "--------------+" 267 } 268 printf("\n"); 235 269 236 270 } -
branches/eam_branches/ipp-20120405/ippMonitor/czartool/czartool/CzarDb.pm
r32797 r33949 9 9 10 10 my @stages = ( 11 "burntool",12 11 "chip", 13 12 "cam", … … 16 15 "stack", 17 16 "diff", 18 "magic",19 "magicDS",20 17 "dist", 21 "pub"); # TODO put elsewhere 18 "pub", 19 "chipbackground"); # TODO put elsewhere 22 20 23 21 my @ippToPspsStages = ( -
branches/eam_branches/ipp-20120405/ippMonitor/czartool/czartool/DayMetrics.pm
r32093 r33949 40 40 $self->{begin} = "$yesterday " . $self->{config}->getMetricsStartTime(); 41 41 $self->{end} = $self->{czarDb}->addInterval($self->{begin}, "1 DAY"); 42 $self->{ burntoolEnd} = $self->{czarDb}->addInterval($self->{begin}, "12 HOUR");42 $self->{chipEnd} = $self->{czarDb}->addInterval($self->{begin}, "12 HOUR"); 43 43 44 44 # create path, dir and html file … … 67 67 my $htmlFile = $self->{htmlFile}; 68 68 69 # summit and burntoolexposures69 # summit and chip exposures 70 70 my $summitExposures = $self->{gpc1Db}->countScienceExposuresFromLastNight($self->{day}); 71 my $ burntoolMetrics = new czartool::StageMetrics("burntool", "all_stdscience_labels", $self->{begin}, $self->{burntoolEnd});72 $self->{czarDb}->runAnalysis($ burntoolMetrics);71 my $chipMetrics = new czartool::StageMetrics("chip", "all_stdscience_labels", $self->{begin}, $self->{chipEnd}); 72 $self->{czarDb}->runAnalysis($chipMetrics); 73 73 74 74 my $previousDay = $self->{czarDb}->subtractInterval($self->{day}, "1 DAY"); … … 78 78 print $htmlFile "<a href=\"../$previousDay/index.html\"> \< previous day</a> | <a href=\"../index.html\">all</a> | <a href=\"../$nextDay/index.html\">next day \></a><br>\n"; 79 79 print $htmlFile "Measured from $self->{begin} to $self->{end} HST<br>\n"; 80 printf ( $htmlFile "%d exposures taken on summit last night, %d through burntooltoday</h5>\n",81 $summitExposures, $ burntoolMetrics->getProcessed() ? $burntoolMetrics->getProcessed() : 0 );80 printf ( $htmlFile "%d exposures taken on summit last night, %d through chip today</h5>\n", 81 $summitExposures, $chipMetrics->getProcessed() ? $chipMetrics->getProcessed() : 0 ); 82 82 print $htmlFile "</head>\n"; 83 83 print $htmlFile "<body>\n"; … … 98 98 my %labelTables; 99 99 100 my @stages = ("burntool", "chip", "cam", "fake", "warp", "stack", "diff", "magic", "magicDS", "dist"); 100 my @stages = ( 101 "chip", 102 "cam", 103 "fake", 104 "warp", 105 "stack", 106 "staticsky", 107 "diff", 108 "dist", 109 "chipbackground"); 101 110 102 111 … … 126 135 foreach my $stage ( @stages ){ 127 136 128 my $stageMetrics = new czartool::StageMetrics($stage, $label, $self->{begin}, ($stage eq " burntool") ? $self->{burntoolEnd} : $self->{end});137 my $stageMetrics = new czartool::StageMetrics($stage, $label, $self->{begin}, ($stage eq "chip") ? $self->{chipEnd} : $self->{end}); 129 138 if (!$self->{czarDb}->runAnalysis($stageMetrics)) {next;} 130 139 … … 253 262 print $htmlFile " <tr>\n"; 254 263 print $htmlFile " <th>Survey</th>\n"; 255 print $htmlFile " <th>Started burntool</th>\n";264 print $htmlFile " <th>Started chip</th>\n"; 256 265 print $htmlFile " <th>Finished distribution</th>\n"; 257 266 print $htmlFile " <th>Time taken</th>\n"; … … 260 269 # OSS survey 261 270 my ($started, $finished, $timeTaken) = undef; 262 $self->{czarDb}->getDayTimings("OSS.nightlyscience", " burntool", "diff", $self->{begin}, \$started, \$finished, \$timeTaken);271 $self->{czarDb}->getDayTimings("OSS.nightlyscience", "chip", "diff", $self->{begin}, \$started, \$finished, \$timeTaken); 263 272 $self->printSurveyDetails("OSS", $started, $finished, $timeTaken); 264 273 … … 285 294 foreach $mdf (@mdfs) { 286 295 287 if ($self->{czarDb}->getDayTimings($mdf, " burntool", "dist", $self->{begin}, \$started, \$finished, \$timeTaken)) {296 if ($self->{czarDb}->getDayTimings($mdf, "chip", "dist", $self->{begin}, \$started, \$finished, \$timeTaken)) { 288 297 289 298 if ($started && $self->{czarDb}->isBefore($started, $earliest)) {$earliest = $started; $haveStart = 1;} … … 299 308 $self->printSurveyDetails("MDF", $earliest, $latest, $timeTaken); 300 309 301 $self->{czarDb}->getDayTimings("all_stdscience_labels", " burntool", "dist", $self->{begin}, \$started, \$finished, \$timeTaken);310 $self->{czarDb}->getDayTimings("all_stdscience_labels", "chip", "dist", $self->{begin}, \$started, \$finished, \$timeTaken); 302 311 $self->printSurveyDetails("All", $started, $finished, $timeTaken); 303 312 -
branches/eam_branches/ipp-20120405/ippMonitor/czartool/czartool/Gpc1Db.pm
r32567 r33949 24 24 elsif ($stage eq "warp") {${$joinTable}="warpSkyfile";} 25 25 elsif ($stage eq "stack") {${$joinTable}="stackSumSkyfile";} 26 elsif ($stage eq "staticsky") {${$id} = "sky_id"; ${$joinTable}="staticskyResult";} 26 27 elsif ($stage eq "diff") {${$joinTable}="diffSkyfile";} 27 28 elsif ($stage eq "magic") {${$joinTable}="magicNodeResult";} … … 29 30 elsif ($stage eq "dist") {${$joinTable}="distComponent";} 30 31 elsif ($stage eq "pub") {${$joinTable}="publishDone";} 32 elsif ($stage eq "chipbackground") {${$id}="chip_bg_id"; ${$joinTable}="chipBackgroundImfile";} 31 33 else { 32 34 … … 51 53 elsif ($stage eq "warp" ) {return "warpRun";} 52 54 elsif ($stage eq "stack" ) {return "stackRun";} 55 elsif ($stage eq "staticsky" ) {return "staticskyRun";} 53 56 elsif ($stage eq "diff" ) {return "diffRun";} 54 57 elsif ($stage eq "magic" ) {return "magicRun";} … … 56 59 elsif ($stage eq "dist" ) {return "distRun";} 57 60 elsif ($stage eq "pub" ) {return "publishRun";} 61 elsif ($stage eq "chipbackground" ) {return "chipBackgroundRun";} 58 62 59 63 return "ERROR"; -
branches/eam_branches/ipp-20120405/ippMonitor/czartool/czartool/Plotter.pm
r32763 r33949 11 11 12 12 my @allStages = ( 13 "burntool",14 13 "chip", 15 14 "cam", … … 17 16 "warp", 18 17 "stack", 18 "staticsky", 19 19 "diff", 20 "magic",21 "magicDS",22 20 "dist", 23 "pub"); 21 "pub", 22 "chipbackground"); 24 23 25 24 my @allIppToPspsStages = ( -
branches/eam_branches/ipp-20120405/ippMonitor/czartool/roboczar.pl
r32098 r33949 21 21 my $czarDb = $config->getCzarDbInstance(); 22 22 23 my @stages = ("burntool", "chip", "cam", "fake", "warp", "stack", "diff", "magic", "magicDS", "dist"); # TODO get from Pantasks 23 my @stages = ( 24 "chip", 25 "cam", 26 "fake", 27 "warp", 28 "stack", 29 "staticsky", 30 "diff", 31 "dist", 32 "chipbackground"); # TODO get from Pantasks 24 33 25 34 my @interestedServers = $config->getRoboczarInterestedServers(); -
branches/eam_branches/ipp-20120405/ippMonitor/def/addRunRun.d
r31320 r33949 9 9 10 10 # field size format name show link to extras 11 FIELD distinct(addRun.add_id), 5, %d, addID11 FIELD addRun.add_id, 5, %d, addID 12 12 FIELD addRun.stage, 5, %s, stage 13 FIELD addRun.stage_id, 5, %d, stage ID 14 FIELD addRun.add_id, 5, %d, add ID 13 FIELD addRun.stage_id, 5, %d, stageID 14 FIELD addRun.stage_extra1, 5, %d, stageExtra1 15 #FIELD addRun.add_id, 5, %d, addID 15 16 FIELD addRun.state, 5, %s, state 16 FIELD addRun.workdir, 5, %s, workdir17 FIELD addRun.reduction, 5, %s, reduction17 FIELD addRun.workdir, 5, %s, workdir 18 FIELD addRun.reduction, 5, %s, reduction 18 19 FIELD addRun.label, 5, %s, label 19 FIELD addRun.data_group, 5, %s, data_group20 FIELD addRun.data_group, 5, %s, data_group 20 21 FIELD addRun.dvodb, 5, %s, dvodb 21 FIELD addRun.note, 5, %s, note 22 FIELD addRun.image_only, 5, %d, image_only 23 FIELD addRun.minidvodb, 5, %d, minidvodb 24 FIELD addRun.minidvodb_group, 5, %s, minidvodb_group 25 FIELD addRun.minidvodb_name, 5, %s, minidvodb_name 26 27 22 FIELD addRun.note, 5, %s, note 23 FIELD addRun.image_only, 5, %d, image_only 24 FIELD addRun.minidvodb, 5, %d, minidvodb 25 FIELD addRun.minidvodb_group, 5, %s, minidvodb_group 26 FIELD addRun.minidvodb_name, 5, %s, minidvodb_name -
branches/eam_branches/ipp-20120405/ippMonitor/def/exposureStatus.d
r29404 r33949 2 2 TITLE Exposures Status 3 3 FILE exposureStatus.php 4 MENU ipp. imfiles.dat4 MENU ipp.czar.dat 5 5 6 6 WHERE object != 'ENGINEERING' -
branches/eam_branches/ipp-20120405/ippMonitor/def/gpc1MysqlProcessList.d
r29481 r33949 2 2 TITLE GPC 1 MySql Process List 3 3 FILE gpc1MysqlProcessList.php 4 MENU ipp. imfiles.dat4 MENU ipp.czar.dat 5 5 6 6 FIELD ID, 5, %d, Process ID -
branches/eam_branches/ipp-20120405/ippMonitor/def/maskStats.d
r28451 r33949 2 2 TITLE Mask Stats 3 3 FILE maskStats.php 4 MENU ipp. imfiles.dat4 MENU ipp.czar.dat 5 5 6 6 WHERE rawExp.exp_id = chipRun.exp_id -
branches/eam_branches/ipp-20120405/ippMonitor/def/minidvodbProcessed.d
r30453 r33949 9 9 10 10 # field size format name show link to extras 11 FIELD distinct(minidvodbRun.minidvodb_id), 5, %d, Minidvodb ID 12 11 FIELD minidvodbRun.minidvodb_id, 5, %d, Minidvodb ID 13 12 FIELD minidvodbRun.minidvodb_name, 5, %s, minidvodb_name 14 13 FIELD minidvodbRun.minidvodb_group, 5, %s, minidvodb_group 15 FIELD minidvodbProcessed.merge_order, 5, %d, Merge Order16 14 FIELD minidvodbProcessed.dtime_resort, 5, %d, resort time 17 15 FIELD minidvodbProcessed.dtime_relphot, 5, %d, relphot time 18 FIELD minidvodbProcessed.dtime_merge, 5, %d, dvomerge time 19 FIELD minidvodbProcessed.mergedvodb_path, 25, %s, mergedvodb_path 16 FIELD minidvodbProcessed.dtime_script, 5, %d, script time 20 17 FIELD state, 5, %s, State 21 18 FIELD minidvodbProcessed.fault, 5, %d, Fault -
branches/eam_branches/ipp-20120405/ippMonitor/def/minidvodbRun.d
r30453 r33949 9 9 10 10 # field size format name show link to extras 11 FIELD distinct(minidvodbRun.minidvodb_id), 5, %d, Minidvodb ID11 FIELD minidvodbRun.minidvodb_id, 5, %d, Minidvodb ID 12 12 FIELD minidvodbRun.minidvodb_name, 5, %s, minidvodb_name 13 13 FIELD minidvodbRun.minidvodb_group, 5, %s, minidvodb_group 14 14 FIELD minidvodbRun.minidvodb_path, 25, %s, minidvodb_path 15 FIELD minidvodbRun.mergedvodb_path, 25, %s, mergedvodb_path15 #FIELD minidvodbRun.mergedvodb_path, 25, %s, mergedvodb_path 16 16 FIELD state, 5, %s, State 17 17 FIELD creation_date, 5, %T, epoch -
branches/eam_branches/ipp-20120405/ippMonitor/def/mopsStatus.d
r32278 r33949 2 2 TITLE MOPS Status 3 3 FILE mopsStatus.php 4 MENU ipp. imfiles.dat4 MENU ipp.czar.dat 5 5 #WHERE rawExp.obs_mode!='ENGINEERING' 6 6 -
branches/eam_branches/ipp-20120405/ippMonitor/def/warpProcessedSkyfiles_Images.d
r32369 r33949 1 1 TABLE rawExp JOIN chipRun USING(exp_id) JOIN camRun USING(chip_id) JOIN fakeRun USING(cam_id) JOIN warpRun USING(fake_id) JOIN warpSkyfile USING(warp_id) 2 2 TITLE Warp Processed Skyfiles 3 FILE warpProcessedSkyfiles .php3 FILE warpProcessedSkyfiles_Images.php 4 4 MENU ipp.science.dat 5 5 -
branches/eam_branches/ipp-20120405/ippMonitor/raw/czartool_ipptopsps.php
r33441 r33949 23 23 24 24 if ($ID['menu']) {$myMenu = $ID['menu'];} 25 else {$myMenu = "ipp. imfiles.dat";}25 else {$myMenu = "ipp.czar.dat";} 26 26 27 27 menu($myMenu, 'Czartool on '.$lastUpdateTime, 'ipp.css', $ID['link'], $ID['proj']); … … 78 78 79 79 $debug = 0; 80 $table = "<table bgcolor=\"#FFFFFF\" width=\" 700\" align=\"middle\" border=\"1\" cellspacing=\"0\" cellpadding=\"4\" style=\"font-size:80%\">\n";80 $table = "<table bgcolor=\"#FFFFFF\" width=\"900\" align=\"middle\" border=\"1\" cellspacing=\"0\" cellpadding=\"4\" style=\"font-size:80%\">\n"; 81 81 82 82 -
branches/eam_branches/ipp-20120405/ippMonitor/raw/czartool_labels.php
r33063 r33949 23 23 24 24 if ($ID['menu']) {$myMenu = $ID['menu'];} 25 else {$myMenu = "ipp. imfiles.dat";}25 else {$myMenu = "ipp.czar.dat";} 26 26 27 27 menu($myMenu, 'Czartool on '.$lastUpdateTime, 'ipp.css', $ID['link'], $ID['proj']); 28 28 29 29 $stages=array( 30 "burntool",31 30 "chip", 32 31 "cam", … … 34 33 "warp", 35 34 "stack", 35 "staticsky", 36 36 "diff", 37 "magic",38 "magicDS",39 37 "dist", 40 "pub"); 38 "pub", 39 "chipbackground"); 41 40 42 41 $servers=array( … … 92 91 93 92 $debug = 0; 94 $table = "<table bgcolor=\"#FFFFFF\" width=\" 700\" align=\"middle\" border=\"1\" cellspacing=\"0\" cellpadding=\"4\" style=\"font-size:80%\">\n";93 $table = "<table bgcolor=\"#FFFFFF\" width=\"900\" align=\"middle\" border=\"1\" cellspacing=\"0\" cellpadding=\"4\" style=\"font-size:80%\">\n"; 95 94 96 95 $labels = getLabels($czardb, $selectedMode); … … 441 440 $anyFaults = false; 442 441 443 $link = $defaultlink;444 getStateAndFaults($db, $thisLabel, $selectedState, "burntool", $str, $anyFaults);445 createFormattedTableCell($anyFaults, $link, $str, $anyFaults, 0);446 447 442 $link = "failedChipProcessedImfile.php?pass=" . $pass . "&proj=" . $proj . "&chipRun.label=" . $thisLabel . "&chipRun.state=".$searchState; 448 443 getStateAndFaults($db, $thisLabel, $selectedState, "chip", $str, $anyFaults); … … 465 460 createFormattedTableCell($anyFaults, $link, $str, $anyFaults, 0); 466 461 462 $link = $defaultlink; 463 getStateAndFaults($db, $thisLabel, $selectedState, "staticsky", $str, $anyFaults); 464 createFormattedTableCell($anyFaults, $link, $str, $anyFaults, 0); 465 467 466 $link = "failedDiffSkyfile.php?pass=" . $pass . "&proj=" . $proj . "&diffRun.label=" . $thisLabel . "&diffRun.state=".$searchState; 468 467 getStateAndFaults($db, $thisLabel, $selectedState, "diff", $str, $anyFaults); … … 470 469 471 470 $link = $defaultlink; 472 getStateAndFaults($db, $thisLabel, $selectedState, "magic", $str, $anyFaults);473 createFormattedTableCell($anyFaults, $link, $str, $anyFaults, (!$isUpdate && !$distributing) ? "gray" : null);474 475 $link = $defaultlink;476 getStateAndFaults($db, $thisLabel, $selectedState, "magicDS", $str, $anyFaults);477 createFormattedTableCell($anyFaults, $link, $str, $anyFaults, (!$isUpdate && !$distributing) ? "gray" : null);478 479 $link = $defaultlink;480 471 getStateAndFaults($db, $thisLabel, $selectedState, "dist", $str, $anyFaults); 481 472 createFormattedTableCell($anyFaults, $link, $str, $anyFaults, (!$isUpdate && !$distributing) ? "gray" : null); … … 485 476 createFormattedTableCell($anyFaults, $link, $str, $anyFaults, (!$isUpdate && !$publishing) ? "gray" : null); 486 477 478 $link = $defaultlink; 479 getStateAndFaults($db, $thisLabel, $selectedState, "chipbackground", $str, $anyFaults); 480 createFormattedTableCell($anyFaults, $link, $str, $anyFaults, 0); 481 487 482 echo "</tr>\n"; 488 483 } … … 492 487 createFormattedTableCell(($selectedLabel != "all"), $link, "All labels", 0, null); 493 488 494 createFormattedTableCell(0, null, "Reverting?", 0, "$columnHeaderColor");495 496 489 foreach ($stages as &$stage) { 497 490 498 if ($stage == "burntool") continue;499 491 $reverting = getRevertStatus($db, $stage); 500 #$link = 501 # "czartool_labels.php?pass=".$pass 502 # ."&proj=".$proj 503 # ."&mode=" .$selectedMode 504 # ."&label=".$selectedLabel 505 # ."&stage=".$selectedStage 506 # ."&plottype=".$plotType 507 # ."&revertstage=".$stage 508 # ."&revertmode="; 509 # 510 #if(!$reverting) {$label = "Start";$link = $link . "on";} 511 #if($reverting) {$label = "Stop";$link = $link . "off";} 512 if(!$reverting) {$label = "no";} 513 if($reverting) {$label = "yes";} 492 if(!$reverting) {$label = "";} 493 if($reverting) {$label = "reverting";} 514 494 unset($reverting); 515 #createFormattedTableCell(1, $link, $label, 0, "$columnHeaderColor");516 495 createFormattedTableCell(0, null, $label, 0, "$columnHeaderColor"); 517 #echo "<td><a href=\"$link\"><font color=\"blue\">$label</font></td>";518 519 496 } 520 497 -
branches/eam_branches/ipp-20120405/ippMonitor/raw/ipp.dvodb.dat
r30453 r33949 9 9 10 10 menulink | menuselect | link | minidvodbRun | minidvodbRun.php 11 menulink | menuselect | link | minidvodbProcessed | minidvodbProcessed.php 11 menulink | menuselect | link | minidvodbProcessed | minidvodbProcessed.php 12 12 menulink | menuselect | link | minidvodbCopy | minidvodbCopy.php 13 13 14 menutop | menutop | plain | | 15 16 menulink | menuselect | link | mergedvodbRun | mergedvodbRun.php 17 menulink | menuselect | link | mergedvodbProcessed | mergedvodbProcessed.php 18 menulink | menuselect | link | mergedvodbCopy | mergedvodbCopy.php 19 20 menutop | menutop | plain | | 21 22 menulink | menuselect | link | dvodbStatus | dvodbStatus.php 23 menulink | menuselect | link | dvodbFaulted | dvodbFaulted.php 24 menulink | menuselect | link | addRun Summary | addRunSummary.php -
branches/eam_branches/ipp-20120405/ippMonitor/raw/ipp.menu.dat
r31816 r33949 27 27 menutop | menutop | link | Calibration | ipp.cal.php 28 28 menutop | menutop | link | Plots | ipp.plots.php 29 menutop | menutop | link | Czar | ipp.czar.php 29 30 menutop | menutop | link | Admin and Debug | ipp.imfiles.php -
branches/eam_branches/ipp-20120405/ippMonitor/raw/ipp.science.dat
r28688 r33949 38 38 menulink | menuselect | link | Warp Skyfile Inputs | warpStageSkyfileInputs.php 39 39 menulink | menuselect | link | Warp Processed Skyfiles | warpProcessedSkyfiles.php 40 #menulink | menuselect | link | Warp Processed Skyfiles w/ Images | warpProcessedSkyfiles_images.php 40 41 menulink | menuselect | link | Warp Failed Skyfiles | warpFailedSkyfiles.php 41 42 -
branches/eam_branches/ipp-20120405/ippMonitor/raw/nightSummary.php
r33004 r33949 52 52 $myMenu = $ID['menu']; 53 53 } else { 54 $myMenu = "ipp. imfiles.dat";54 $myMenu = "ipp.czar.dat"; 55 55 } 56 56
Note:
See TracChangeset
for help on using the changeset viewer.
