From owner-freebsd-questions Sun Aug 12 3:30:55 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-27-141-144.mmcable.com [24.27.141.144]) by hub.freebsd.org (Postfix) with SMTP id 4118337B40C for ; Sun, 12 Aug 2001 03:30:49 -0700 (PDT) (envelope-from mwm@mired.org) Received: (qmail 3724 invoked by uid 100); 12 Aug 2001 10:30:48 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15222.23256.445602.238142@guru.mired.org> Date: Sun, 12 Aug 2001 05:30:48 -0500 To: Joey Garcia Cc: questions@freebsd.org Subject: Re: Filesystem filling up, how do I locate the large files? In-Reply-To: <106282575@toto.iv> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ 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 Joey Garcia 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. 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