From owner-freebsd-questions Sat Aug 11 14:50:56 2001 Delivered-To: freebsd-questions@freebsd.org Received: from femail26.sdc1.sfba.home.com (femail26.sdc1.sfba.home.com [24.254.60.16]) by hub.freebsd.org (Postfix) with ESMTP id 56DF037B405 for ; Sat, 11 Aug 2001 14:50:51 -0700 (PDT) (envelope-from genisis@istar.ca) Received: from x1-6-00-50-ba-de-36-33.kico1.on.home.com ([24.141.119.162]) by femail26.sdc1.sfba.home.com (InterMail vM.4.01.03.20 201-229-121-120-20010223) with ESMTP id <20010811215050.KRGN24265.femail26.sdc1.sfba.home.com@x1-6-00-50-ba-de-36-33.kico1.on.home.com> for ; Sat, 11 Aug 2001 14:50:50 -0700 Received: from localhost (genisis@localhost) by x1-6-00-50-ba-de-36-33.kico1.on.home.com (8.11.3/8.11.3) with ESMTP id f7BL62X17455; Sat, 11 Aug 2001 17:06:03 -0400 (EDT) (envelope-from genisis@istar.ca) X-Authentication-Warning: x1-6-00-50-ba-de-36-33.kico1.on.home.com: genisis owned process doing -bs Date: Sat, 11 Aug 2001 17:06:02 -0400 (EDT) From: Dru X-X-Sender: To: Joey Garcia Cc: Subject: Re: Filesystem filling up, how do I locate the large files? In-Reply-To: <20010811131914.J14507-100000@localhost> Message-ID: <20010811170448.J17199-100000@x1-6-00-50-ba-de-36-33.kico1.on.home.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, 11 Aug 2001, Joey Garcia wrote: > > 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... Hi Joey, You probably saw it on the mailing lists. I think the command you're looking for is: du -h /usr |sort -rn Cheers, Dru To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message