IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 5, 2010, 9:10:53 AM (16 years ago)
Author:
rhenders
Message:

Now checking nebulous storage info, storing it in Db and plotting it

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/czarplot.pl

    r28772 r28845  
    2121my $histogram = undef;
    2222my $timeSeries = undef;
     23my $nebulous = undef;
    2324my $savingToFile = undef;
    2425
     
    3233        "output|o=s" => \$path,
    3334        "histogram|h" => \$histogram,
     35        "nebulous|n" => \$nebulous,
    3436        "timeseries|t" => \$timeSeries,
    3537        "verbose|v" => \$verbose,
     
    4143if (!$timeSeries) {
    4244    print "* OPTIONAL: plot timeseries                 -t                          (default=on)\n";}
     45if (!$nebulous) {
     46    print "* OPTIONAL: plot nebulous disk space        -n                          (default=off)\n";}
    4347if (!$label) {
    4448    print "* OPTIONAL: choose a label                  -l <labellName>             (default='all_labels')\n";}
     
    5862# default values
    5963if (!$label) {$label = "all_labels";}
    60 if (!$histogram && !$timeSeries) {$timeSeries = 1; $histogram = 1;}
     64if (!$nebulous && !$histogram && !$timeSeries) {$timeSeries = 1; $histogram = 0;}
    6165if (!$verbose) {$verbose = 0;}
    6266if (!$save_temps) {$save_temps = 0;}
     
    7882}
    7983
     84my $diskUsage = 1; # TODO
     85
    8086if ($timeSeries) {$czarplot->createTimeSeries($label, $stage, $begin, $end);}
    8187if ($histogram) {$czarplot->createHistogram($label, $begin, $end);}
     88if ($nebulous) {$czarplot->plotDiskUsageHistogram();}
     89if ($nebulous) {$czarplot->plotStorageTimeSeries($begin, $end);}
    8290
Note: See TracChangeset for help on using the changeset viewer.