How to get "du -sk *" to work sensibly

Chris G cl at isbd.net
Sat Dec 29 15:25:04 UTC 2007


On Sat, Dec 29, 2007 at 09:05:29AM -0600, Aaron Konstam wrote:
> On Fri, 2007-12-28 at 10:36 -0600, Jon Stanley wrote:
> > On 12/28/07, Chris G <cl at isbd.net> wrote:
> > 
> > > So how can I get an idea of the size of the various directories on my
> > > root file system?  There seems no easy way.
> > 
> > Something like du -xk --max-depth=1 / would work.
> What is wrong with du -s * from /
> 
It takes an infinite (well, impossibly long) amount of time when it
hits my remotely mounted NAS server.  It also tells me the space used
on mounts which isn't very useful if I'm trying to work out what's
using all the space on my root disk.

I want a tool to tell me what's using all the space on one specific
volume/partition.

-- 
Chris Green




More information about the users mailing list