From owner-freebsd-questions@FreeBSD.ORG Tue Jan 25 01:35:52 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0F82416A4CE for ; Tue, 25 Jan 2005 01:35:52 +0000 (GMT) Received: from mproxy.gmail.com (mproxy.gmail.com [216.239.56.251]) by mx1.FreeBSD.org (Postfix) with ESMTP id BB11143D1F for ; Tue, 25 Jan 2005 01:35:51 +0000 (GMT) (envelope-from heccjj@gmail.com) Received: by mproxy.gmail.com with SMTP id x71so31977cwb for ; Mon, 24 Jan 2005 17:35:51 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=ckhuTfUf8mYeOKYgtwB1gdpIZlXtyCW7UutMjn9hER0kXgl8qYtx3QoHDcnfBi4qp+G3y0YQxpprt4pGEojiZe7ab0WjlN8SftTQLPVnuS7BuVxf34dig+3IPqytZgv0C5Fp68QgYQZnSnj4m2vGm0ME8e2YV9lhn62lq51WKkE= Received: by 10.54.49.32 with SMTP id w32mr76616wrw; Mon, 24 Jan 2005 17:09:11 -0800 (PST) Received: by 10.54.47.3 with HTTP; Mon, 24 Jan 2005 17:09:11 -0800 (PST) Message-ID: <3bbab5ce05012417097cb67c21@mail.gmail.com> Date: Tue, 25 Jan 2005 09:09:11 +0800 From: he ccj To: John In-Reply-To: <20050124101250.A4416@starfire.mn.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <41F4CD7F.6050308@gmail.com> <20050124071628.B3660@starfire.mn.org> <16885.6478.271432.655623@jerusalem.litteratus.org> <20050124101250.A4416@starfire.mn.org> cc: Robert Huff cc: freebsd-questions@freebsd.org Subject: Re: /var is lack of space!! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: he ccj List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Jan 2005 01:35:52 -0000 Thanks all of you,with your instruction,i found that it's /var/spool/clientmqueue use almost all of my disk space!!And i delete this directory,every thing is ok! But which program produce those rubish?and how can i stop that program? On Mon, 24 Jan 2005 10:12:50 -0600, John wrote: > On Mon, Jan 24, 2005 at 10:50:38AM -0500, Robert Huff wrote: > > > > John writes: > > > > > This is a good way to find out "where" the storage is being used: > > > cd /var ; du -s * | sort -nr | more > > > That will give you a list, sorted from most storage to least, of > > > each directory (or file) at the /var level. You can then choose > > > to descend into one of those, and run the command again, to drill > > > deeper. > > > > Technical notes: > > 1) given you're already at /var, the "*" is superfluous. > > No, it's not your technical notes are WRONG, you've not understood > my point. With the "-s" option and not the *, you'd only get the > total usage for the filesystem, and he already knows that from the > "df". > > > 2) if you omit the -s, you get the "drilling down" for free: > > You've entirely missed my point. Read on... > > > 47100 ./db > > 40126 ./db/pkg > > 13160 ./log > > 10738 ./log/samba > > I find this hard to read, you've done a great job of illustrating my point. > When looking at this, you need to remember that the ./db 47100 contains > the ./db/pkg 40126 - you can't add up that column of numbers to see what > part of the total filesystem is in use. > > I'm not saying my way is the only way, but at least I'm not telling > you your way is wrong without understanding it. I find my method > useful, so I shared it - if he doesn't want to use it, he doesn't have to. > -- > > John Lind > john@starfire.MN.ORG > _______________________________________________ > 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" >