Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Apr 2009 21:57:54 -0600
From:      Tim Judd <tajudd@gmail.com>
To:        Adam Vande More <amvandemore@gmail.com>
Cc:        questions@freebsd.org, Christopher Chambers <cchamb0@interchange.ubc.ca>
Subject:   Re: Disk usage analysis
Message-ID:  <ade45ae90904212057y6fe028a2m1ad5c79f433fa925@mail.gmail.com>
In-Reply-To: <49EE8D4F.8040005@gmail.com>
References:  <1240369698.1037.4.camel@localhost.localdomain>  <49EE8D4F.8040005@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Apr 21, 2009 at 9:21 PM, Adam Vande More <amvandemore@gmail.com>wrote:

> Christopher Chambers wrote:
>
>> Is there an easy way to analyze disk usage to determine which files and
>> folders are taking up the most space?
>>
>>
>>
>>
> du -hd 1 | sort -n


du -kd 1 | sort -rn


Shows in ENV{BLOCKSIZE} the biggest directories first.  Bound to be / always
in this situation.  :D



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ade45ae90904212057y6fe028a2m1ad5c79f433fa925>