Changeset 31816 for trunk/ippMonitor
- Timestamp:
- Jul 1, 2011, 11:51:24 AM (15 years ago)
- Location:
- trunk/ippMonitor
- Files:
-
- 5 edited
- 6 copied
-
. (modified) (1 prop)
-
Makefile.in (modified) (4 diffs)
-
def/lapExposures.d (copied) (copied from branches/sc_branches/ippMonitorLap/def/lapExposures.d )
-
def/lapRuns.d (copied) (copied from branches/sc_branches/ippMonitorLap/def/lapRuns.d )
-
def/lapSequenceSummary.d (copied) (copied from branches/sc_branches/ippMonitorLap/def/lapSequenceSummary.d )
-
def/lapStacks.d (copied) (copied from branches/sc_branches/ippMonitorLap/def/lapStacks.d )
-
raw/czartool_labels.php (modified) (1 diff)
-
raw/ipp.lap.dat (copied) (copied from branches/sc_branches/ippMonitorLap/raw/ipp.lap.dat )
-
raw/ipp.lap.php (copied) (copied from branches/sc_branches/ippMonitorLap/raw/ipp.lap.php )
-
raw/ipp.menu.dat (modified) (1 diff)
-
scripts/generate (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippMonitor
- Property svn:mergeinfo set to
-
trunk/ippMonitor/Makefile.in
r31803 r31816 33 33 $(DESTWWW)/ipp.dist.dat \ 34 34 $(DESTWWW)/ipp.dist.php \ 35 $(DESTWWW)/ipp.lap.dat \ 36 $(DESTWWW)/ipp.lap.php \ 35 37 $(DESTWWW)/ipp.imfiles.dat \ 36 38 $(DESTWWW)/ipp.imfiles.php \ … … 70 72 $(DESTWWW)/version.php \ 71 73 $(DESTWWW)/show_log.php 72 73 74 75 74 76 75 DEFSRC = \ … … 223 222 $(DESTWWW)/minidvodbProcessed.php \ 224 223 $(DESTWWW)/addRunRun.php \ 225 $(DESTWWW)/addRunProcessed.php 226 227 224 $(DESTWWW)/addRunProcessed.php \ 225 $(DESTWWW)/lapSequenceSummary.php \ 226 $(DESTWWW)/lapRuns.php \ 227 $(DESTWWW)/lapExposures.php \ 228 $(DESTWWW)/lapStacks.php 228 229 229 230 PICTURES = \ … … 274 275 rm -f $(DESTWWW)/version.php 275 276 277 test: 278 #DESTWWW := $(DESTWWW)/test 279 echo $(DESTWWW) 280 276 281 $(DESTWWW)/version.php: 277 282 svnversion > $@ -
trunk/ippMonitor/raw/czartool_labels.php
r31096 r31816 135 135 echo "<tr><td>Postage stamp server status</td><td><a href=\"http://pstamp.ipp.ifa.hawaii.edu/status.php\"><font color=\"blue\">here</font></a></td></tr>"; 136 136 echo "<tr><td>Documentation</td><td><a href=\"http://svn.pan-starrs.ifa.hawaii.edu/trac/ipp/wiki/Processing\"><font color=\"blue\">here</font></a></td></tr>"; 137 echo "<tr><td>Cluster load</td><td><a href=\"http://ganglia.pan-starrs.ifa.hawaii.edu/?r=hour&s=descending& c=IPP%2520Production\"><font color=\"blue\">here</font></a></td></tr>";137 echo "<tr><td>Cluster load</td><td><a href=\"http://ganglia.pan-starrs.ifa.hawaii.edu/?r=hour&s=descending&hc=6&c=IPP%2520Production\"><font color=\"blue\">here</font></a></td></tr>"; 138 138 echo "<tr><td>Who's using the cluster?</td><td><a href=\"http://ipp004.ifa.hawaii.edu/clusterMonitor/top.html\"><font color=\"blue\">here</font></a></td></tr>"; 139 139 echo "<tr><td>IPP metrics</td><td><a href=\"http://ipp004.ifa.hawaii.edu/ippMetrics\"><font color=\"blue\">here</font></a></td></tr>"; -
trunk/ippMonitor/raw/ipp.menu.dat
r30453 r31816 23 23 menutop | menutop | link | Stack Steps | ipp.stack.php 24 24 menutop | menutop | link | Distribution | ipp.dist.php 25 menutop | menutop | link | Large Area Processing | ipp.lap.php 25 26 menutop | menutop | link | dvoDB | ipp.dvodb.php 26 27 menutop | menutop | link | Calibration | ipp.cal.php 27 28 menutop | menutop | link | Plots | ipp.plots.php 28 29 menutop | menutop | link | Admin and Debug | ipp.imfiles.php 29 -
trunk/ippMonitor/scripts/generate
r30454 r31816 61 61 if ($field =~ m|\S+\s+as\s+\S+|) { 62 62 ($fieldreal) = $field =~ m|\S+\s+as\s+(\S+)|; 63 #print STDERR "Case 1\n"; 64 } elsif ($field =~ m|\S+\s+AS\s+\S+|) { 65 #print STDERR "field=$field\n"; 66 $fieldreal = $field; 67 $fieldreal =~ s/\s+AS.*$//; 68 #($fieldreal) = $field =~ m|\S+\s+as\s+(\S+)|; 69 #print STDERR "Case 2\n"; 63 70 } else { 64 71 $fieldreal = $field; 72 #print STDERR "Case 3\n"; 65 73 } 74 #print STDERR "field=[$field]\tfieldreal=[$fieldreal]\n"; 66 75 67 76 if ($VERBOSE) { printf "%-20s %-20s %-20s %-20s %-20s %-20s\n", $field, $name, $format, $show, $link, $extras; } … … 527 536 @extfields = split (/,/, $extras); 528 537 for ($i = 0; $i < @extfields; $i++) { 538 # print STDERR $extfields[$i],"\n"; 529 539 ($label, $value, $outline) = &parse_label ($extfields[$i]); 540 # print STDERR "[",$label,"]","[",$value,"]","[",$outline,"\n"; 530 541 print FILE " \$link = \$link . \"&$outline\";\n"; 531 542 } … … 540 551 ($word, $value) = split (" ", $_[0]); 541 552 553 # print STDERR "#############################\n"; 554 # foreach my $key ( keys %linkarg ) { 555 # print STDERR "key: $key, value: $linkarg{$key}\n"; 556 # } 557 542 558 # print STDERR "0: $_[0], $word, $value\n"; 559 # print STDERR "[$linkarg{$word}]\n"; 543 560 544 561 if ($linkarg{$word}) { 562 # print STDERR "Case 1\n"; 545 563 $linkarg{$word} = "$linkarg{$word},$value"; 546 564 } else { 565 # print STDERR "Case 2\n"; 547 566 $linkarg{$word} = $value; 548 567 } 549 568 # print STDERR "linkarg($word) : $linkarg{$word}\n"; 569 # print STDERR "#############################\n"; 550 570 } 551 571 … … 563 583 $value = ""; 564 584 585 # print STDERR "### parse_label ###\n"; 586 # for ($i = 0; $i < @field; $i++) { 587 # print STDERR "field[$i]=$field[$i]\n"; 588 # } 589 # for ($i = 0; $i < @fieldreal; $i++) { 590 # print STDERR "fieldreal[$i]=$fieldreal[$i]\n"; 591 # } 592 # for ($i = 0; $i < @count; $i++) { 593 # print STDERR "count[$i]=$count[$i]\n"; 594 # } 595 565 596 # search for embedded table fields and replace with row[N] 566 597 if ($VERBOSE) { print STDERR "string: $string\n"; } 567 598 if ($string =~ m|\S+=\S+|) { 568 599 ($label, $value) = $string =~ m|(\S+)=(\S+)|; 600 # print STDERR "value=$value\n"; 569 601 if ($value =~ m|^\$|) { 570 602 MATCH_LABEL: … … 572 604 if ($field[$i] eq "*") { next; } 573 605 while ($value =~ m|\$$fieldreal[$i]|) { 574 # print "field: $fieldreal[$i]\n";606 # print STDERR "field: $fieldreal[$i]\n"; 575 607 # ($part1, $name, $part2) = $value =~ m|\$($fieldreal[$i])\@(\S+)|; 576 608 ($part1, $name, $part2) = $value =~ m|(\S*)\$($fieldreal[$i])(\S*)|; 577 # print "name: $name\n";578 # print "part1: $part1\n";579 # print "part2: $part2\n";580 # print "value: $value\n";609 # print STDERR "name: $name\n"; 610 # print STDERR "part1: $part1\n"; 611 # print STDERR "part2: $part2\n"; 612 # print STDERR "value: $value\n"; 581 613 582 614 $Nrow = $count[$i]; … … 587 619 # $value = "\$row[$Nrow]"; 588 620 # } 589 # print "outval: $value\n";621 # print STDERR "outval: $value\n"; 590 622 # last MATCH_LABEL; 591 623 }
Note:
See TracChangeset
for help on using the changeset viewer.
