From owner-freebsd-questions Sun Dec 2 13:32:50 2001 Delivered-To: freebsd-questions@freebsd.org Received: from lists.blarg.net (lists.blarg.net [206.124.128.17]) by hub.freebsd.org (Postfix) with ESMTP id 3E86937B405 for ; Sun, 2 Dec 2001 13:32:45 -0800 (PST) Received: from thig.blarg.net (thig.blarg.net [206.124.128.18]) by lists.blarg.net (Postfix) with ESMTP id C6125BCDD; Sun, 2 Dec 2001 13:32:44 -0800 (PST) Received: from localhost.localdomain ([206.124.139.115]) by thig.blarg.net (8.9.3/8.9.3) with ESMTP id NAA20048; Sun, 2 Dec 2001 13:32:43 -0800 Received: (from jojo@localhost) by localhost.localdomain (8.11.6/8.11.3) id fB2LWsm11864; Sun, 2 Dec 2001 13:32:55 -0800 (PST) (envelope-from swear@blarg.net) To: "Anthony Atkielski" Cc: "FreeBSD Questions" Subject: Re: How do I find major consumers of disk space on the system? References: <008301c17af1$910f4a90$0a00000a@atkielski.com> From: swear@blarg.net (Gary W. Swearingen) Date: 02 Dec 2001 13:32:53 -0800 In-Reply-To: <008301c17af1$910f4a90$0a00000a@atkielski.com> Message-ID: Lines: 5 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) 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 I use a script something like this to find big files to delete. ## Good arguments: "/dir", "/mount-point -xdev" find $@ -size +2000 -ls | sort -rn +6 ## size in 512 blocks #NOTE: "-ls" is MUCH faster than "-exec ls -ld {} \;" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message