Changeset 32064
- Timestamp:
- Aug 9, 2011, 4:07:06 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/tools/czarpoll.pl (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/czarpoll.pl
r31901 r32064 19 19 use czartool::Nebulous; 20 20 use czartool::Plotter; 21 use czartool::Burntool;22 21 use czartool::DayMetrics; 23 22 use czartool::MetricsIndex; … … 36 35 my $pantasks = new czartool::Pantasks(); 37 36 my $plotter = czartool::Plotter->new_file($config, "/tmp", $save_temps); 38 my $burntool = new czartool::Burntool();39 37 40 38 … … 273 271 $plotter->createRateHistogram($allServerLabels, undef, $begin, $end, undef); 274 272 $plotter->createHistogram($allServerLabels, $begin, $end); 273 275 274 foreach $stage (@stages) { 276 275 … … 300 299 my $server = undef; 301 300 my $state = undef; 301 my $today = strftime('%Y-%m-%d', localtime); 302 302 303 303 foreach $stage (@stages) { … … 317 317 if ($stage eq "burntool") { 318 318 319 $new = $full = $faults = 0; 319 320 if ($labelServer eq "stdscience") { 320 321 321 $burntool->getPendingAndProcessed($label, \$new, \$full); 322 $faults = 0; 322 $full = $gpc1Db->countRegisteredExposures($label, $today); 323 323 } 324 else { $new = $full = $faults = 0;}325 324 } 326 325 else {
Note:
See TracChangeset
for help on using the changeset viewer.
