IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 34139


Ignore:
Timestamp:
Jul 11, 2012, 8:19:38 AM (14 years ago)
Author:
eugene
Message:

merge changes from trunk

Location:
branches/eam_branches/ipp-20120627
Files:
30 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20120627

  • branches/eam_branches/ipp-20120627/Ohana/src/opihi/cmd.astro

    • Property svn:mergeinfo changed (with no actual effect on merging)
  • branches/eam_branches/ipp-20120627/ippMonitor

  • branches/eam_branches/ipp-20120627/ippMonitor/czartool/czartool/Plotter.pm

    r34096 r34139  
    1111
    1212my @allStages = (
    13         "chip", 
    14         "cam", 
    15         "fake", 
    16         "warp", 
    17         "stack", 
    18         "staticsky", 
    19         "diff", 
    20         "dist", 
     13        "chip",
     14        "cam",
     15        "fake",
     16        "warp",
     17        "stack",
     18        "staticsky",
     19        "diff",
     20        "dist",
    2121        "pub",
    2222        "chipbackground");
    2323
    2424my @allIppToPspsStages = (
    25         "processed", 
    26         "loaded_to_datastore", 
    27         "loaded_to_ODM", 
    28         "merge_worthy", 
    29         "deleted_datastore", 
    30         "deleted_dxlayer", 
    31         "merged", 
     25        "processed",
     26        "loaded_to_datastore",
     27        "loaded_to_ODM",
     28        "merge_worthy",
     29        "deleted_datastore",
     30        "deleted_dxlayer",
     31        "merged",
    3232        "deleted_local");
    3333
     34my $GNUPLOT="/home/panstarrs/ipp/local/bin/gnuplot";
    3435
    3536###########################################################################
     
    9697###########################################################################
    9798#
    98 # Sets plotter to use standard IPP mode, i.e. chip, cam etc 
     99# Sets plotter to use standard IPP mode, i.e. chip, cam etc
    99100#
    100101###########################################################################
     
    107108###########################################################################
    108109#
    109 # Sets plotter to use ippToPsps mode, i.e. processed, loaded_to_datastore etc 
     110# Sets plotter to use ippToPsps mode, i.e. processed, loaded_to_datastore etc
    110111#
    111112###########################################################################
     
    182183
    183184    # stages
    184     my $stages = undef;                 
     185    my $stages = undef;
    185186    if (!$selectedStage) {
    186187        $stages = \@{$self->{allStages}};
     
    196197    my $stage = undef;
    197198    my $gnuplotFile = undef;
    198     my $minX = 999999999;     
     199    my $minX = 999999999;
    199200    my $maxX = -9999999999;
    200201    my $timeDiff = 0;
     
    203204
    204205        if ($self->{_czarDb}->createProcessingRateData(
    205                     $stage, 
    206                     $label, 
    207                     $beginTime, 
    208                     $endTime, 
     206                    $stage,
     207                    $label,
     208                    $beginTime,
     209                    $endTime,
    209210                    $interval,
    210211                    \$gnuplotFile,
     
    233234    my ($self, $gnuplotFiles, $outputFile, $label, $selectedStage, $beginTime, $endTime, $interval) = @_;
    234235
    235     open (GP, "|/usr/bin/gnuplot -persist") or die "no gnuplot";
     236    open (GP, "|$GNUPLOT -persist") or die "no gnuplot";
    236237    use FileHandle;
    237238    GP->autoflush(1);
     
    276277    my ($self, $label, $selectedStage, $beginTime, $endTime, $linear, $log, $rate) = @_;
    277278
    278     my $minX = 999999999;     
     279    my $minX = 999999999;
    279280    my $maxX = -9999999999;
    280281    my $timeDiff = 0;
    281282
    282     my $stages = undef;                 
     283    my $stages = undef;
    283284
    284285    if (!$selectedStage) {$stages = \@{$self->{allStages}};}
    285     else {$stages = ["$selectedStage"]};       
     286    else {$stages = ["$selectedStage"]};
    286287
    287288    my %linDataFiles;
     
    296297
    297298        if($self->{_czarDb}->createTimeSeriesData(
    298                     $label, 
    299                     $stage, 
    300                     $beginTime, 
    301                     $endTime, 
    302                     \$minX, 
    303                     \$maxX, 
    304                     \$timeDiff, 
     299                    $label,
     300                    $stage,
     301                    $beginTime,
     302                    $endTime,
     303                    \$minX,
     304                    \$maxX,
     305                    \$timeDiff,
    305306                    \$linDataFile,
    306307                    \$logDataFile,
     
    311312            $ratDataFiles{$stage} = $ratDataFile;
    312313        }
    313     }                                                           
     314    }
    314315
    315316    my $numOfPlots =  keys(%linDataFiles);
     
    319320#        print "Warning: No plots could be generated for stage '$selectedStage' and label '$label' during time period '$beginTime', '$endTime'\n";
    320321        return;
    321     } 
     322    }
    322323
    323324    if ($timeDiff == 0) {
     
    332333
    333334        $self->plotTimeSeries(
    334                 \%linDataFiles, 
    335                 $outputFile, 
    336                 $label, 
    337                 $beginTime, 
    338                 $endTime, 
    339                 $maxX, 
    340                 $minX, 
    341                 $timeDiff, 
     335                \%linDataFiles,
     336                $outputFile,
     337                $label,
     338                $beginTime,
     339                $endTime,
     340                $maxX,
     341                $minX,
     342                $timeDiff,
    342343                "",
    343344                "Items");
     
    349350
    350351        $self->plotTimeSeries(
    351                 \%logDataFiles, 
    352                 $outputFile, 
    353                 $label, 
    354                 $beginTime, 
    355                 $endTime, 
    356                 $maxX, 
    357                 $minX, 
    358                 $timeDiff, 
     352                \%logDataFiles,
     353                $outputFile,
     354                $label,
     355                $beginTime,
     356                $endTime,
     357                $maxX,
     358                $minX,
     359                $timeDiff,
    359360                "",
    360361                "Log(Items)");
     
    366367
    367368        $self->plotTimeSeries(
    368                 \%ratDataFiles, 
    369                 $outputFile, 
    370                 $label, 
    371                 $beginTime, 
    372                 $endTime, 
    373                 $maxX, 
    374                 $minX, 
    375                 $timeDiff, 
     369                \%ratDataFiles,
     370                $outputFile,
     371                $label,
     372                $beginTime,
     373                $endTime,
     374                $maxX,
     375                $minX,
     376                $timeDiff,
    376377                "",
    377378                "Items per hour");
    378 }   
    379 }                                               
     379}
     380}
    380381
    381382###########################################################################
     
    398399
    399400        if (!$self->{_czarDb}->countProcessedPendingAndFaults(
    400                 $label, 
    401                 $stage, 
    402                 $beginTime, 
    403                 $endTime, 
    404                 \$processed, 
    405                 \$pending, 
     401                $label,
     402                $stage,
     403                $beginTime,
     404                $endTime,
     405                \$processed,
     406                \$pending,
    406407                \$faults)) {next;}
    407408
    408         $pendingMinusFaults = $pending - $faults; 
     409        $pendingMinusFaults = $pending - $faults;
    409410        print GNUDAT "$stage $faults $processed $pendingMinusFaults\n";
    410411    }
     
    412413    close(GNUDAT);
    413414
    414     open (GP, "|/usr/bin/gnuplot -persist") or die "no gnuplot";
     415    open (GP, "|$GNUPLOT -persist") or die "no gnuplot";
    415416    use FileHandle;
    416417    GP->autoflush(1);
     
    427428        "set ylabel \"Items\";" .
    428429        "set boxwidth 0.75;" .
    429         "plot '".$tmpFile->filename."' using 2:xtic(1) title \"Faults\" lt 1, '' using 3 title \"Processed\" lt 2, '' using 4 title \"Pending\" lt 7;" . 
     430        "plot '".$tmpFile->filename."' using 2:xtic(1) title \"Faults\" lt 1, '' using 3 title \"Processed\" lt 2, '' using 4 title \"Pending\" lt 7;" .
    430431        "\n";
    431432
     
    435436###########################################################################
    436437#
    437 # Sets the output path 
     438# Sets the output path
    438439#
    439440###########################################################################
     
    441442    my ($self, $outputFormat) = @_;
    442443    $self->{_outputFormat} = $outputFormat if defined($outputFormat);
    443 }           
    444 
    445 ###########################################################################
    446 #
    447 # Sets the output type 
     444}
     445
     446###########################################################################
     447#
     448# Sets the output type
    448449#
    449450###########################################################################
     
    451452    my ($self, $outputPath) = @_;
    452453    $self->{_outputPath} = $outputPath if defined($outputPath);
    453 }           
     454}
    454455
    455456###########################################################################
     
    462463    $self->{_dateFormat} = $dateFormat if defined($dateFormat);
    463464    return $self->{_dateFormat};
    464 }       
     465}
    465466
    466467###########################################################################
     
    543544    $title .= " for '$label'\\nFrom '$fromTime' to '$toTime' HST";
    544545
    545     open (GP, "|/usr/bin/gnuplot -persist") or die "no gnuplot";
     546    open (GP, "|$GNUPLOT -persist") or die "no gnuplot";
    546547    use FileHandle;
    547548    GP->autoflush(1);
     
    612613    $self->getTimeSpacing($timeDiff, \$divX, \$timeFormat);
    613614
    614     open (GP, "|/usr/bin/gnuplot -persist") or die "no gnuplot";
     615    open (GP, "|$GNUPLOT -persist") or die "no gnuplot";
    615616    use FileHandle;
    616617    GP->autoflush(1);
     
    656657    my $totalPercent = sprintf("%.1f%%", $totalUsed);
    657658
    658     open (GP, "|/usr/bin/gnuplot -persist") or die "no gnuplot";
     659    open (GP, "|$GNUPLOT -persist") or die "no gnuplot";
    659660    use FileHandle;
    660661    GP->autoflush(1);
     
    672673        "plot '".$tmpFile->filename."' " .
    673674        "using 2:xtic(1) t \"Used\" lt 7," .
    674         "'' using 3 t \"Over $limit% used\" lt 1," . 
    675         "'' using 4 t \"Unavailable\" fs solid 0.50 lt -1 ," . 
    676         "'' using 5 t \"Free\" lt 2," . 
    677         "'' using 6 notitle fs solid 0.50 lt -1" . 
     675        "'' using 3 t \"Over $limit% used\" lt 1," .
     676        "'' using 4 t \"Unavailable\" fs solid 0.50 lt -1 ," .
     677        "'' using 5 t \"Free\" lt 2," .
     678        "'' using 6 notitle fs solid 0.50 lt -1" .
    678679        ";" .
    679680
     
    718719
    719720
    720     open (GP, "|/usr/bin/gnuplot -persist") or die "no gnuplot";
     721    open (GP, "|$GNUPLOT -persist") or die "no gnuplot";
    721722    use FileHandle;
    722723    GP->autoflush(1);
     
    731732        set grid
    732733        set size square
    733         set xrange [-0.5:7.5] reverse 
    734         set yrange [-0.5:7.5] 
     734        set xrange [-0.5:7.5] reverse
     735        set yrange [-0.5:7.5]
    735736        unset key
    736737        set palette rgb 22,13,10
     
    769770
    770771    # set up bins
    771     my %histogram; 
     772    my %histogram;
    772773    my @bins;
    773774    my $interval = 0.05;
     
    812813
    813814    my $totalMaskFrac;
    814    
     815
    815816    if ($totalChipCount > 0) {
    816817
     
    842843
    843844    # make histogram
    844     open (GP, "|/usr/bin/gnuplot -persist") or die "no gnuplot";
     845    open (GP, "|$GNUPLOT -persist") or die "no gnuplot";
    845846    use FileHandle;
    846847    GP->autoflush(1);
     
    859860        "set boxwidth 0.75;" .
    860861        "set xtic rotate by -90 scale 0;" .
    861         "plot '".$tmpFile->filename."' using 2:xtic(1) notitle lt 1;" . 
     862        "plot '".$tmpFile->filename."' using 2:xtic(1) notitle lt 1;" .
    862863        "\n";
    863864
     
    865866
    866867    # make cumulative distribution
    867     open (GP, "|/usr/bin/gnuplot -persist") or die "no gnuplot";
     868    open (GP, "|$GNUPLOT -persist") or die "no gnuplot";
    868869    use FileHandle;
    869870    GP->autoflush(1);
     
    878879        "set ylabel \"Number of Exposures\";" .
    879880        "set xtic rotate by -90 scale 0;" .
    880         "plot " . 
     881        "plot " .
    881882        "'".$tmpFile->filename."' using 1:3 notitle with lines lt 2 lw 2\n";
    882883
  • branches/eam_branches/ipp-20120627/ippMonitor/raw/czartool_labels.php

    r34007 r34139  
    170170echo "<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> <a href=\"http://ganglia.pan-starrs.ifa.hawaii.edu/?m=cpu_report&r=hour&s=by%2520name&c=IPP+Production&h=&sh=1&hc=8&z=small\"><font color=\"blue\">cpu_report</font></a></td></tr>";
    171171echo "<tr><td>Who's using the cluster?</td><td><a href=\"http://ippmonitor.ipp.ifa.hawaii.edu/ippMonitor/clusterMonitor/top.html\"><font color=\"blue\">here</font></a></td></tr>";
     172echo "<tr><td>Files monitor</td><td><a href=\"http://ippmonitor.ipp.ifa.hawaii.edu/diskMonitor\"><font color=\"blue\">here</font></a></td></tr>";
    172173echo "<tr><td>IPP metrics</td><td><a href=\"http://ipp0022.ifa.hawaii.edu/ps1sc/ippMetrics\"><font color=\"blue\">here</font></a></td></tr>";
    173174echo "<tr><td>Czar log pages</td><td><a href=\"http://svn.pan-starrs.ifa.hawaii.edu/trac/ipp/wiki/PS1_IPP_CzarLogs\"><font color=\"blue\">All</font></a>&nbsp;&nbsp;&nbsp;";
    174 echo "<a href=\"http://svn.pan-starrs.ifa.hawaii.edu/trac/ipp/wiki/PS1_IPP_CzarLog_".(date("Ymd")-date("w")+"1")."\">This week</a>";
     175echo "<a href=\"http://svn.pan-starrs.ifa.hawaii.edu/trac/ipp/wiki/PS1_IPP_Czarlog_".(date("Ymd")-date("w")+"1")."\">This week</a>";
    175176echo "</td></tr>";
    176177echo "<tr><td>Exposure summary</td><td><a href=\"czartool_exposures.php?pass=$pass&proj=$proj\"><font color=\"blue\">here</font></a></td></tr>";
  • branches/eam_branches/ipp-20120627/ippScripts/scripts/destreak_restore_camera.pl

    • Property svn:mergeinfo changed (with no actual effect on merging)
  • branches/eam_branches/ipp-20120627/ippScripts/scripts/ipp_apply_burntool_single.pl

    • Property svn:mergeinfo changed (with no actual effect on merging)
  • branches/eam_branches/ipp-20120627/ippScripts/scripts/magic_destreak.pl

    • Property svn:mergeinfo changed (with no actual effect on merging)
  • branches/eam_branches/ipp-20120627/ippToPsps

  • branches/eam_branches/ipp-20120627/ippTools/share/camtool_find_pendingimfile.sql

    • Property svn:mergeinfo changed (with no actual effect on merging)
  • branches/eam_branches/ipp-20120627/ippTools/share/chiptool_setimfiletoupdate.sql

    • Property svn:mergeinfo changed (with no actual effect on merging)
  • branches/eam_branches/ipp-20120627/ippTools/share/pxadmin_create_tables.sql

    • Property svn:mergeinfo changed (with no actual effect on merging)
  • branches/eam_branches/ipp-20120627/ippTools/share/warptool_towarped.sql

    • Property svn:mergeinfo changed (with no actual effect on merging)
  • branches/eam_branches/ipp-20120627/ippTools/src

  • branches/eam_branches/ipp-20120627/ippTools/src/magictool.c

    • Property svn:mergeinfo changed (with no actual effect on merging)
  • branches/eam_branches/ipp-20120627/ippTools/src/pstamptool.c

    r34081 r34139  
    4949static bool revertjobMode(pxConfig *config);
    5050
    51 # if (0)
     51# if (1)
    5252// these are unused functions -- since they are 'static', this raises an warning
     53// XXX: They actually are used
    5354static bool addprojectMode(pxConfig *config);
    5455static bool projectMode(pxConfig *config);
     
    102103        MODECASE(PSTAMPTOOL_MODE_STOPDEPENDENTJOB, stopdependentjobMode);
    103104        MODECASE(PSTAMPTOOL_MODE_REVERTJOB, revertjobMode);
    104 # if (0)
     105# if (1)
    105106        MODECASE(PSTAMPTOOL_MODE_ADDPROJECT, addprojectMode);
    106107        MODECASE(PSTAMPTOOL_MODE_MODPROJECT, modprojectMode);
     
    11011102}
    11021103
    1103 # if (0)
     1104# if (1)
    11041105// these are unused functions
     1106// XXX: yes they are
    11051107static bool addprojectMode(pxConfig *config)
    11061108{
  • branches/eam_branches/ipp-20120627/ippconfig

  • branches/eam_branches/ipp-20120627/ippconfig/gpc1/ppStack.config

    r32147 r34139  
    1818END
    1919
    20 PS1_REFERENCE METADATA
    21     OUTPUT.NOCOMP       BOOL    TRUE
    22     OUTPUT.LOGFLUX      BOOL    FALSE
    23     OUTPUT.REPLICATE    BOOL    TRUE
     20PS1_REFERENCE METADATA                  # Refstack for diffims, typically best of best IQ/images and N>20
     21    OUTPUT.NOCOMP           BOOL  TRUE
     22    OUTPUT.LOGFLUX          BOOL  FALSE
     23    OUTPUT.REPLICATE        BOOL  TRUE
     24    PSF.INPUT.MAX           F32   6.0   # never really want >6 pixels in refstack
     25    PSF.INPUT.CLIP.NSIGMA   F32   1.0   # sample typically on rising side of distribution (set even smaller?)
    2426END
    2527
    26 STACK_DEEP    METADATA
    27     OUTPUT.NOCOMP   BOOL    TRUE
    28     OUTPUT.LOGFLUX  BOOL    FALSE
    29 
    30     PSF.INPUT.MAX           F32  7.5
    31     PSF.INPUT.CLIP.NSIGMA   F32  5.0
     28STACK_DEEP    METADATA                  # N>>20 inputs, typically MD fields
     29    OUTPUT.NOCOMP           BOOL  TRUE
     30    OUTPUT.LOGFLUX          BOOL  FALSE
     31    OUTPUT.REPLICATE        BOOL  TRUE
     32    PSF.INPUT.MAX           F32   7.5
     33    PSF.INPUT.CLIP.NSIGMA   F32   1.5
    3234END
    3335
    34 # for just unconvolved and deep stacks
    35 QUICKSTACK_DEEP    METADATA
    36     CONVOLVE        BOOL   FALSE   
    37     COMBINE.REJ     F32    3.5          # Rejection threshold in combination (sigma). tune?
    38     COMBINE.DISCARD F32    0.2          # Discard fraction for Olympic weighted mean. tune?
    39     OUTPUT.NOCOMP   BOOL    TRUE
    40     OUTPUT.LOGFLUX  BOOL    FALSE
    41     PSF.INPUT.MAX           F32  8.0    # since not convolved limit, relax? tune?
    42     PSF.INPUT.CLIP.NSIGMA   F32  5.0
     36QUICKSTACK_DEEP    METADATA             # Unconvolved and deep stacks only
     37    CONVOLVE               BOOL  FALSE   
     38    COMBINE.REJ            F32   3.5    # Rejection threshold in combination (sigma). tune?
     39    COMBINE.DISCARD        F32   0.2    # Discard fraction for Olympic weighted mean. tune?
     40    OUTPUT.NOCOMP          BOOL  TRUE
     41    OUTPUT.LOGFLUX         BOOL  FALSE
     42    PSF.INPUT.MAX          F32   7.5    # since not convolved limit, relax/tune?
     43    PSF.INPUT.CLIP.NSIGMA  F32   1.5
    4344END
    4445
    45 STACK_NIGHTLY  METADATA
     46STACK_NIGHTLY  METADATA                 # Typically MD 8 input nightly stacks
    4647    OUTPUT.NOCOMP   BOOL    FALSE
    4748    OUTPUT.LOGFLUX  BOOL    FALSE
     
    4950
    5051STACK_THREEPI  METADATA
    51     PSF.INPUT.MAX   F32     12.0
    52     OUTPUT.NOCOMP   BOOL    FALSE
    53     OUTPUT.LOGFLUX  BOOL    TRUE
     52    OUTPUT.NOCOMP           BOOL  FALSE
     53    OUTPUT.LOGFLUX          BOOL  TRUE
     54    PSF.INPUT.MAX           F32   7.5   # input cut more restrictive now 12->7.5 pix, limit target PSF in convolved stacks
     55    PSF.INPUT.CLIP.NSIGMA   F32   1.5   # additional cut if majority of inputs much smaller than INPUT.MAX
    5456END
    5557
  • branches/eam_branches/ipp-20120627/ippconfig/recipes/reductionClasses.mdc

    • Property svn:mergeinfo changed (with no actual effect on merging)
  • branches/eam_branches/ipp-20120627/magic/Makefile

    r33001 r34139  
    6060
    6161ssa-core-cpp/build/libSSA.a:
    62         if [ -d ssa-core-cpp ]; then (cd ssa-core-cpp && ./configure && make); fi
     62        if [ -d ssa-core-cpp ]; then (cd ssa-core-cpp && ./configure --disable-doxygen && make); fi
    6363
    6464magic: magic/DetectStreaks
  • branches/eam_branches/ipp-20120627/ppImage/src

    • Property svn:mergeinfo changed (with no actual effect on merging)
  • branches/eam_branches/ipp-20120627/psLib/m4/ipp_stdopts.m4

    r34089 r34139  
    99       CFLAGS="-pipe -O2 -g -DPS_NO_TRACE"],
    1010      [AC_MSG_RESULT([compile optimization disabled])
    11         if test x"${CFLAGS}" == x; then
    12           CFLAGS="-pipe -O0 -g"
    13         fi
     11        CFLAGS="-pipe -O0 -g"
    1412      ]
    1513    )
  • branches/eam_branches/ipp-20120627/psconfig/tagsets/ipp-3.0.libs

    r31448 r34139  
    3535lib libjpeg              NONE           jpeg   jpegsrc.v8c.tar.gz       jpeg-8c          N --enable-shared NONE NONE
    3636lib libcfitsio           NONE           NONE   cfitsio3100-p4.tar.gz    cfitsio3100-p4   N --enable-shared shared,all NONE
    37 lib libmysqlclient       NONE           mysql  mysql-5.0.51a.tar.gz     mysql-5.0.51a    N NONE NONE NONE
     37lib libmysqlclient       NONE           mysql  mysql-5.0.51a.tar.gz     mysql-5.0.51a    N --with-unix-socket-path=/var/run/mysqld/mysqld.sock NONE NONE
    3838lib libgsl               NONE           NONE   gsl-1.11.tar.gz          gsl-1.11         N NONE NONE NONE
    3939lib libfftw3f            NONE           NONE   fftw-3.0.1.tar.gz        fftw-3.0.1       N --enable-float,--enable-shared,--disable-fortran NONE NONE
  • branches/eam_branches/ipp-20120627/psphot

    • Property svn:mergeinfo changed (with no actual effect on merging)
  • branches/eam_branches/ipp-20120627/psphot/src

    • Property svn:mergeinfo changed (with no actual effect on merging)
  • branches/eam_branches/ipp-20120627/psphot/src/psphotStackImageLoop.c

    • Property svn:mergeinfo changed (with no actual effect on merging)
  • branches/eam_branches/ipp-20120627/pstamp/scripts

    • Property svn:mergeinfo changed (with no actual effect on merging)
  • branches/eam_branches/ipp-20120627/psvideophot

    • Property svn:mergeinfo changed (with no actual effect on merging)
  • branches/eam_branches/ipp-20120627/tools/mysql-dump/gpc1_install.sh

    r31877 r34139  
    3838                if [ "$ITERATION" -ge "$MAX_ITERATIONS" ]; then
    3939                        log ERROR "Copy of $TARGET/$MD5FILE failed after $ITERATION iterations. Giving up"
    40                         email "Too many failures when attempting to copy $TARGET/$MD5FILE" $EMAILTO "Check log"
     40                        email "Too many failures when attempting to copy $TARGET/$MD5FILE" $EMAILTO "Check log /netdisks/panstarrs/ipp/mysql-dump/gpc1_install.log"
    4141                        log INFO "End of gpc1_install.sh (Failure)"
    4242                        exit 1
  • branches/eam_branches/ipp-20120627/tools/mysql-dump/ops_dump.csh

    r33195 r34139  
    1818set DATEVAR=`date +%FT%T`                                    #date
    1919set FILENAME = $DUMP_PATH/mysql-ippadmin-ipp001-$DATEVAR.dump.bz
    20 mysqldump --compress -hipp001 -uipp -pipp --flush-logs --single-transaction ippadmin | bzip2 > $FILENAME
     20mysqldump --compress -hipp001 -uipp -pipp --single-transaction ippadmin | bzip2 > $FILENAME
    2121if ($status != 0) then
    2222   /bin/mail -s "Warning ippadmin dump failed" $EMAILTO < msg 
Note: See TracChangeset for help on using the changeset viewer.