IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 7, 2011, 12:35:22 PM (15 years ago)
Author:
watersc1
Message:

Adding volume/entry calculations based on the counts of objects found on disk to allow a 'better' estimate.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/diskspace/nebulous_wiki.pl

    r32265 r32622  
    3232        $sum{$volume} += $size;
    3333        $sizes{$what}   += $size;
     34        $counts{$what}  += $count;
    3435    }
    3536    close(F);
     
    8889    foreach $w (sort (keys %sizes)) {
    8990        $val = $sizes{$w} / 1024 / 1024 / 1024;
    90         print $out_fh "$w $val\n";
     91        $v2  = $counts{$w};
     92        print $out_fh "$w $val $v2\n";
    9193    }
    9294    close($out_fh);
Note: See TracChangeset for help on using the changeset viewer.