From owner-freebsd-questions@FreeBSD.ORG Wed Dec 17 17:41:55 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ED91C1065672 for ; Wed, 17 Dec 2008 17:41:55 +0000 (UTC) (envelope-from cliff@compucast.com) Received: from rs48.luxsci.com (rs48.luxsci.com [65.61.166.92]) by mx1.freebsd.org (Postfix) with ESMTP id CFA118FC12 for ; Wed, 17 Dec 2008 17:41:54 +0000 (UTC) (envelope-from cliff@compucast.com) Received: from Cliff-2.local (h55.28.89.75.dynamic.ip.windstream.net [75.89.28.55]) (authenticated bits=0) by rs48.luxsci.com (8.13.1/8.13.7) with ESMTP id mBHHV63r021680 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 17 Dec 2008 11:31:07 -0600 Message-ID: <4949375A.7070708@compucast.com> Date: Wed, 17 Dec 2008 12:31:06 -0500 From: Cliff Addy User-Agent: Thunderbird 2.0.0.18 (Macintosh/20081105) MIME-Version: 1.0 To: John Almberg References: <283ACBF4-8227-4A24-9E17-80A17CA2A098@identry.com> In-Reply-To: <283ACBF4-8227-4A24-9E17-80A17CA2A098@identry.com> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: How to find files that are eating up disk space 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, 17 Dec 2008 17:41:56 -0000 Use "df" to report disk usage. Sitting in /, for example, "df -sm bin" will tell you the disk usage in megs in the bin directory, "df -sm *" will do the same for each file/dir in / "man df" for the whole story Cliff John Almberg wrote: > Here is another newbie question that is driving me crazy, but is > probably a laughable situation to an experienced admin... > > I've got a smallish server that is suddenly out of disk space in the > '/' partition. > > Probably some log files have gotten out of hand. I am going to start > looking for the culprits by hand... basically inspecting sub > directories, but there must be a better way! > > Is there a command line tool that will help me figure out where the > problem is? > > Even better, is there a way to proactively monitor the file system, so > I can fix problems before I start getting 'out of disk space' errors? > > Any hints, much appreciated. > > -- John > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > >