[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: root file system



I've had to go through this recently, and it's a little tedious.  Anyone
know of a tool that can list directories in order of size? (excluding subdir
sizes obviously).  If not then I guess I just made myself a little scripting
project ;) although I am sure some people here can just rattle it off
without thinking.

tim

> -----Original Message-----
> From:	Damien [SMTP:bitwise@repose.cx]
> Sent:	Monday, October 30, 2000 2:12 PM
> To:	debian-user@lists.debian.org
> Subject:	Re: root file system
> 
> > As you will see from another post, /var is under root. I've been looking
> > very hard there and I can't find a culprit. I have looked in most
> > directories. Can you give me an idea of where, outside of mail, things
> > in /var get big?
> 
> 
> the easier way to narrow down this sort of thing is this:
> 
> cd /
> du -bsc * | sort -n
> 
> you can then cd to each subdir whos size appears erroneous, and repeat
> 
> cheers
> 
>  damien



Reply to: