Changeset 28845 for trunk/tools/czarplot.pl
- Timestamp:
- Aug 5, 2010, 9:10:53 AM (16 years ago)
- File:
-
- 1 edited
-
trunk/tools/czarplot.pl (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/czarplot.pl
r28772 r28845 21 21 my $histogram = undef; 22 22 my $timeSeries = undef; 23 my $nebulous = undef; 23 24 my $savingToFile = undef; 24 25 … … 32 33 "output|o=s" => \$path, 33 34 "histogram|h" => \$histogram, 35 "nebulous|n" => \$nebulous, 34 36 "timeseries|t" => \$timeSeries, 35 37 "verbose|v" => \$verbose, … … 41 43 if (!$timeSeries) { 42 44 print "* OPTIONAL: plot timeseries -t (default=on)\n";} 45 if (!$nebulous) { 46 print "* OPTIONAL: plot nebulous disk space -n (default=off)\n";} 43 47 if (!$label) { 44 48 print "* OPTIONAL: choose a label -l <labellName> (default='all_labels')\n";} … … 58 62 # default values 59 63 if (!$label) {$label = "all_labels";} 60 if (!$ histogram && !$timeSeries) {$timeSeries = 1; $histogram = 1;}64 if (!$nebulous && !$histogram && !$timeSeries) {$timeSeries = 1; $histogram = 0;} 61 65 if (!$verbose) {$verbose = 0;} 62 66 if (!$save_temps) {$save_temps = 0;} … … 78 82 } 79 83 84 my $diskUsage = 1; # TODO 85 80 86 if ($timeSeries) {$czarplot->createTimeSeries($label, $stage, $begin, $end);} 81 87 if ($histogram) {$czarplot->createHistogram($label, $begin, $end);} 88 if ($nebulous) {$czarplot->plotDiskUsageHistogram();} 89 if ($nebulous) {$czarplot->plotStorageTimeSeries($begin, $end);} 82 90
Note:
See TracChangeset
for help on using the changeset viewer.
