Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Dec 2001 23:40:19 -0600
From:      Darren Crotchett <darren@crotchett.com>
To:        "Anthony Atkielski" <anthony@atkielski.com>, "FreeBSD Questions" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: How do I find major consumers of disk space on the system?
Message-ID:  <20011202054021.DC57E37B405@hub.freebsd.org>
In-Reply-To: <008301c17af1$910f4a90$0a00000a@atkielski.com>
References:  <008301c17af1$910f4a90$0a00000a@atkielski.com>

next in thread | previous in thread | raw e-mail | index | archive | help
try 
du -h /<some directory> | sort -r

do a man du for more du options

Darren

On Saturday 01 December 2001 11:24 pm, Anthony Atkielski wrote:
> I see that there are lots of commands that tell me various things about the
> filesystems I have mounted and what is on them, but what is the best
> command or commands to use in order to locate the parts of the file
> hierarchy that are taking up the most disk space?  For example, I have 1.3
> GB in use on the /usr filesystem; how can I find out which directories are
> using the most space (mainly with an eye to deleting stuff that doesn't
> really need to be there)?
>
>
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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