From owner-freebsd-questions@FreeBSD.ORG Wed Apr 22 03:58:10 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D3A6D1065670 for ; Wed, 22 Apr 2009 03:58:10 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.25]) by mx1.freebsd.org (Postfix) with ESMTP id 8B57D8FC15 for ; Wed, 22 Apr 2009 03:58:10 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: by qw-out-2122.google.com with SMTP id 3so1125457qwe.7 for ; Tue, 21 Apr 2009 20:58:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type; bh=5SZ7ITVp+tlMU+oW/tcuf/+LVZYNPmMgHU/xmMIgWa8=; b=aZjXeTnOXzFbI6EM2wfTBDsJaYKn0Yq+AZBM/i/FGwyt96a8sZFZAKLo4K2oTIEwi1 6k2D+XfhaYhk1QPzAVHPaH9Vziy2h9XKJ39xBMOVYNiEu8D7X7eESj4XemFfzVyIsEf9 pKiEpYhGyx8RnGHxdlSh6wyE9xmxhD1LkNR9w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=D8C+Gw9BZ76R16avQcshzHSZyoejEEZeMHKIVIqZrYH97r7NhFMEovnEF7mxiZ7hUN UWG9fGRwDfxryCcih4+cwXZc4RnCMwalZwzIctAJbQ1vqdiTpaHGfE07kcmbgEotfKY6 whfk8DOJJV91eqSsHbFMS466VJwj9LzcOqomo= MIME-Version: 1.0 Received: by 10.220.72.80 with SMTP id l16mr10033164vcj.99.1240372689512; Tue, 21 Apr 2009 20:58:09 -0700 (PDT) In-Reply-To: <49EE8D4F.8040005@gmail.com> References: <1240369698.1037.4.camel@localhost.localdomain> <49EE8D4F.8040005@gmail.com> From: Tim Judd Date: Tue, 21 Apr 2009 21:57:54 -0600 Message-ID: To: Adam Vande More Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: questions@freebsd.org, Christopher Chambers Subject: Re: Disk usage analysis X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Apr 2009 03:58:11 -0000 On Tue, Apr 21, 2009 at 9:21 PM, Adam Vande More wrote: > Christopher Chambers wrote: > >> Is there an easy way to analyze disk usage to determine which files and >> folders are taking up the most space? >> >> >> >> > du -hd 1 | sort -n du -kd 1 | sort -rn Shows in ENV{BLOCKSIZE} the biggest directories first. Bound to be / always in this situation. :D