Constipated Ibex

Matthew Flaschen matthew.flaschen at gatech.edu
Thu Apr 9 03:42:33 UTC 2009


Brian McKee wrote:
> On Wed, Apr 8, 2009 at 1:02 PM, Pete Clapham <pc44062 at gmail.com> wrote:
>> Hi, all --
>>
>> My server using Intrepid appears to have a constipated  root directory.
>> Here is the output from the df -h.  As you can see, the / drive is 100%
>> used.
> 
> find is your friend.....
> 
>  sudo find / -type f -size +50000k -exec ls -lh {} \; |less

That will only find single files larger than 50000. It won't find, for
instance, a folder full of 1 MB log files.

I would just do:

du / --max-depth=3

It will take a while to run, but should give you a clearer picture.

Matt Flaschen




More information about the ubuntu-users mailing list