IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 31816 for trunk/ippMonitor


Ignore:
Timestamp:
Jul 1, 2011, 11:51:24 AM (15 years ago)
Author:
Serge CHASTEL
Message:

Merged LAP monitor into trunk

Location:
trunk/ippMonitor
Files:
5 edited
6 copied

Legend:

Unmodified
Added
Removed
  • trunk/ippMonitor

  • trunk/ippMonitor/Makefile.in

    r31803 r31816  
    3333$(DESTWWW)/ipp.dist.dat \
    3434$(DESTWWW)/ipp.dist.php \
     35$(DESTWWW)/ipp.lap.dat \
     36$(DESTWWW)/ipp.lap.php \
    3537$(DESTWWW)/ipp.imfiles.dat \
    3638$(DESTWWW)/ipp.imfiles.php \
     
    7072$(DESTWWW)/version.php \
    7173$(DESTWWW)/show_log.php
    72 
    73 
    74 
    7574
    7675DEFSRC = \
     
    223222$(DESTWWW)/minidvodbProcessed.php \
    224223$(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
    228229
    229230PICTURES = \
     
    274275        rm -f $(DESTWWW)/version.php
    275276
     277test:
     278#DESTWWW := $(DESTWWW)/test
     279        echo $(DESTWWW)
     280
    276281$(DESTWWW)/version.php:
    277282        svnversion > $@
  • trunk/ippMonitor/raw/czartool_labels.php

    r31096 r31816  
    135135echo "<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>";
    136136echo "<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>";
     137echo "<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>";
    138138echo "<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>";
    139139echo "<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  
    2323menutop   | menutop      | link    | Stack Steps                  | ipp.stack.php
    2424menutop   | menutop      | link    | Distribution                 | ipp.dist.php
     25menutop   | menutop      | link    | Large Area Processing        | ipp.lap.php
    2526menutop   | menutop      | link    | dvoDB                        | ipp.dvodb.php
    2627menutop   | menutop      | link    | Calibration                  | ipp.cal.php
    2728menutop   | menutop      | link    | Plots                        | ipp.plots.php
    2829menutop   | menutop      | link    | Admin and Debug              | ipp.imfiles.php
    29 
  • trunk/ippMonitor/scripts/generate

    r30454 r31816  
    6161            if ($field =~ m|\S+\s+as\s+\S+|) {
    6262                ($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";
    6370            } else {
    6471                $fieldreal = $field;
     72                #print STDERR "Case 3\n";
    6573            }
     74            #print STDERR "field=[$field]\tfieldreal=[$fieldreal]\n";
    6675
    6776            if ($VERBOSE) { printf "%-20s %-20s %-20s %-20s %-20s %-20s\n", $field, $name, $format, $show, $link, $extras; }
     
    527536    @extfields = split (/,/, $extras);
    528537    for ($i = 0; $i < @extfields; $i++) {
     538        # print STDERR $extfields[$i],"\n";
    529539        ($label, $value, $outline) = &parse_label ($extfields[$i]);
     540        # print STDERR "[",$label,"]","[",$value,"]","[",$outline,"\n";
    530541        print FILE "  \$link = \$link . \"&$outline\";\n";
    531542    }
     
    540551    ($word, $value) = split (" ", $_[0]);
    541552
     553    # print STDERR "#############################\n";
     554    # foreach my $key ( keys %linkarg ) {
     555    #   print STDERR "key: $key, value: $linkarg{$key}\n";
     556    # }
     557
    542558    # print STDERR "0: $_[0], $word, $value\n";
     559    # print STDERR "[$linkarg{$word}]\n";
    543560
    544561    if ($linkarg{$word}) {
     562        # print STDERR "Case 1\n";
    545563        $linkarg{$word} = "$linkarg{$word},$value";
    546564    } else {
     565        # print STDERR "Case 2\n";
    547566        $linkarg{$word} = $value;
    548567    }
    549568    # print STDERR "linkarg($word) : $linkarg{$word}\n";
     569    # print STDERR "#############################\n";
    550570}
    551571
     
    563583    $value = "";
    564584
     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
    565596    # search for embedded table fields and replace with row[N]
    566597    if ($VERBOSE) { print STDERR "string: $string\n"; }
    567598    if ($string =~ m|\S+=\S+|) {
    568599        ($label, $value) = $string =~ m|(\S+)=(\S+)|;
     600        # print STDERR "value=$value\n";
    569601        if ($value =~ m|^\$|) {
    570602          MATCH_LABEL:
     
    572604                if ($field[$i] eq "*") { next; }
    573605                while ($value =~ m|\$$fieldreal[$i]|) {
    574                     # print "field: $fieldreal[$i]\n";
     606                    # print STDERR "field: $fieldreal[$i]\n";
    575607                    # ($part1, $name, $part2) = $value =~ m|\$($fieldreal[$i])\@(\S+)|;
    576608                    ($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";
    581613
    582614                    $Nrow = $count[$i];
     
    587619                    #     $value = "\$row[$Nrow]";
    588620                    # }
    589                     # print "outval: $value\n";
     621                    # print STDERR  "outval: $value\n";
    590622                    # last MATCH_LABEL;
    591623                }
Note: See TracChangeset for help on using the changeset viewer.