- Timestamp:
- Mar 5, 2012, 5:19:48 PM (14 years ago)
- Location:
- branches/meh_branches/ppstack_test
- Files:
-
- 3 edited
-
. (modified) (1 prop)
-
ippMonitor (modified) (1 prop)
-
ippMonitor/czartool/czarpoll.pl (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/meh_branches/ppstack_test
- Property svn:mergeinfo changed
-
branches/meh_branches/ppstack_test/ippMonitor
- Property svn:mergeinfo changed
/branches/eam_branches/ipp-20110710/ippMonitor (added) merged: 32337 /branches/eam_branches/ipp-20110906/ippMonitor (added) merged: 32630 /branches/eam_branches/ipp-20111110/ippMonitor (added) merged: 32694
- Property svn:mergeinfo changed
-
branches/meh_branches/ppstack_test/ippMonitor/czartool/czarpoll.pl
r32095 r33415 37 37 38 38 39 my @stages = ("burntool", "chip", "cam", "fake", "warp", "stack", "diff", "magic", "magicDS", "dist", "pub"); 40 39 my @stages = ( 40 "burntool", 41 "chip", 42 "cam", 43 "fake", 44 "warp", 45 "stack", 46 "diff", 47 "magic", 48 "magicDS", 49 "dist", 50 "pub"); 51 52 my @ippToPspsStages = ( 53 "processed", 54 "loaded_to_datastore", 55 "loaded_to_ODM", 56 "merge_worthy", 57 "deleted_datastore", 58 "deleted_dxlayer", 59 "merged", 60 "deleted_local"); 61 62 my @allStages = (@stages, @ippToPspsStages); 41 63 42 64 timePoll($period); … … 219 241 220 242 updateAllStages($thisServer, $newState, $labels, $begin, $end); 221 createPlots($thisServer, $labels, $begin, $end);243 if ($thisServer eq "stdscience") {createPlots($thisServer, $labels, $begin, $end);} 222 244 } 223 245 else { print "* WARNING: no $thisServer labels found in Db\n";} … … 244 266 print "* Generating plots\n"; 245 267 268 # get ippToPsps labels 269 my $ippToPspsLabels = undef; 270 $czarDb->getCurrentIppToPspsLabels($begin, $end, \$ippToPspsLabels); 271 $plotter->setIppToPspsMode(); 272 273 # create ippToPsps labels 274 foreach $stage (@ippToPspsStages) { 275 foreach $row ( @{$ippToPspsLabels} ) { 276 my ($label) = @{$row}; 277 278 chomp($label); 279 $plotter->createTimeSeries($label, $stage, $begin, $end, 1, 0, 1); 280 } 281 } 282 283 # create plots for each label for all stages for ippToPsps 284 foreach $row ( @{$ippToPspsLabels} ) { 285 my ($label) = @{$row}; 286 287 $plotter->createTimeSeries($label, undef, $begin, $end, 1, 1, 1); 288 } 289 290 246 291 # create plots for each label for each stage 292 $plotter->setStandardMode(); 247 293 foreach $stage (@stages) { 248 294 foreach $row ( @{$rows} ) { … … 250 296 251 297 chomp($label); 252 $plotter->createTimeSeries($label, $stage, $begin, $end, 1, 1, 1);298 $plotter->createTimeSeries($label, $stage, $begin, $end, 1, 0, 1); 253 299 } 254 300 } … … 265 311 $allServerLabels = "all_".$server."_labels"; 266 312 267 $plotter->createTimeSeries($allServerLabels, undef, $begin, $end, 1, 1, 1);313 $plotter->createTimeSeries($allServerLabels, undef, $begin, $end, 1, 0, 1); 268 314 269 315 foreach $stage (@stages) { 270 316 271 $plotter->createTimeSeries($allServerLabels, $stage, $begin, $end, 1, 1, 1); # TODO must be a neater way...317 $plotter->createTimeSeries($allServerLabels, $stage, $begin, $end, 1, 0, 1); # TODO must be a neater way... 272 318 } 273 319 }
Note:
See TracChangeset
for help on using the changeset viewer.
