[KLUG Members] Directory Size
Dirk H Bartley
members@kalamazoolinux.org
08 Dec 2003 10:41:26 -0500
On Mon, 2003-12-08 at 10:10, Jamie McCarthy wrote:
> jamie@mccarthy.vg (Jamie McCarthy) writes:
>
> > On Debian (at least on the unstable branch I'm using), it works on
> > some directories
>
> I take that back. Was it trying to tell me I had 5 terabytes in one
> directory? I don't think so :)
>
> > daisy:/usr/local/src/dirsum# ./dirsum /home/jamie/dl
> > /home/jamie/dl has 4687060 Bytes in 6 Files, with 6 Subdirectories
> > which is 0.08 percent of total
> >
> > Subdirs This Directory 1 Deeper 2 - 45 Deeper Totals
> > Name Bytes Files Dirs Bytes Files Dirs Bytes Files Files Bytes %
> > rush 5.5T 611 611 5.5T 96.85
> > hl 177.7G 7029 7029 177.7G 3.04
> > memtest86- 806.5M 54 54 806.5M 0.01
> > Pound-1.5 454.3M 17 17 454.3M 0.01
> > pound 412.6M 16 16 412.6M 0.01
> > qce-ga-0.4 195.3M 17 1 6.2M 4 21 201.5M 0.00
> > Totals 5.7T 7744 1 6.2M 4 7754 5.7T
My unsigned long long conversion to text subroutine seems to not be
working quite right on your system. Hmmm. I can't recreate on mine
here. It seems to be kicking it up to the next MGT than desired.
Dirk
>
> jamie@daisy:~/dl$ du -sh *
> 108K Pound-1.3.tgz
> 492K Pound-1.5
> 124K Pound-1.5.tgz
> 195M hl
> 2.1M ls-lrR.txt
> 2.1M md5sums.txt
> 940K memtest86-3.0
> 108K memtest86-3.0.tar.gz
> 452K pound
> 268K qce-ga-0.40b
> 36K qce-ga-0.40b.tar.gz
> 5.6G rush
> --
> Jamie McCarthy
> http://mccarthy.vg/
> jamie@mccarthy.vg
> _______________________________________________
> Members mailing list
> Members@kalamazoolinux.org
>