Re: how to figure out file sizes


Subject: Re: how to figure out file sizes
From: Anthony Valentine (amv@akvalentine.com)
Date: Tue Nov 27 2001 - 19:50:34 AKST


Bob,

Try running this from the root directory: du -hx --max-depth=1

This will tell you the size of each directory under / except for those
on other filesystems (i.e. partitions). Feel free to increase the
max-depth (depth of subdirectories that du will give a total for) value
if it helps.

On Tue, 2001-11-27 at 17:14, Bob Crosby wrote:
>
> How can I find out what files are eating up my root partition? df shows
>
> Filesystem 1k-blocks Used Available Use% Mounted on
> /dev/hda8 256667 210021 33394 87% /
> /dev/hda1 54416 4466 47141 9% /boot
> /dev/hda6 13820376 4943176 8175164 38% /home
> /dev/hda5 13820376 1818484 11299856 14% /usr
> /dev/hda9 256667 42777 200638 18% /var
>
> For some reason, the root partition keeps filling up with something -- now
> 87% full, and continuously growing until the computer crashes. Is there a
> way to sort the results of du by size?
>
>
>
>



This archive was generated by hypermail 2a23 : Tue Nov 27 2001 - 19:51:27 AKST