Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Aug 2001 05:30:48 -0500
From:      Mike Meyer <mwm@mired.org>
To:        Joey Garcia <bear@buug.homeip.net>
Cc:        questions@freebsd.org
Subject:   Re: Filesystem filling up, how do I locate the large files?
Message-ID:  <15222.23256.445602.238142@guru.mired.org>
In-Reply-To: <106282575@toto.iv>

next in thread | previous in thread | raw e-mail | index | archive | help
Joey Garcia <bear@buug.homeip.net> types:
> Okay, I hope the subject made sense.  Basically, my /usr is filing up and
> I wanted to located the large files or larger directories that are filling
> up the partition.  I read somehwere in some FAQ or something that the
> command is something like this: du (some options) | sort (some more
> options) but I'm not sure exactly about what options to use.  I have a
> feeling that I read this somwhere on one of the documentation found at
> freebsd.org but I just can't seem to find it again.  Any pointers to that
> doucmentation would be awesome.  I know I read it somewhere...

How about the du and sort man pages? The options are all documented
there, which should be enough to figure out what you want.

Hint: you want the size of all files on /usr and not other file
systems mounted on /usr, sorted numerically, and probably largest
values first.

	<mike
--
Mike Meyer <mwm@mired.org>			http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

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?15222.23256.445602.238142>