Re: [vox-tech] Disk Space Mystery
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [vox-tech] Disk Space Mystery
Xdu is 1000 times quicker/more useful, if you take the pain to
install it anyways, gives an excellent feel for where the disk use
is going, google finds it pretty easily...
On Tue, Jan 23, 2001 at 01:59:16PM -0800, William Kendrick wrote:
> Pete said:
> >
> > in any event, check out the man page for du.
>
> Tips:
>
> * To see which directories take up the most room first:
>
> du | sort -n -r | less
>
> (-n to sort numerically (1, 12, 19, 110, 1500)
> instead of by ascii string values (1, 110, 12, 1500, 19))
>
> (-r to reverse sort (largest numbers first))
>
>
> You can also use "-h" for human-readable. The problem here is, you
> can't safely sort. (1.2M would appear to be less than 8.0K ;) )
>
> Instead, when sorting, try sending "-k" to "du" to show kilobytes,
> or "-m" for megs.
>
>
> Good luck!
>
> -bill!
|