From owner-freebsd-questions@FreeBSD.ORG Mon Feb 7 14:24:55 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 CFE5216A4CE for ; Mon, 7 Feb 2005 14:24:55 +0000 (GMT) Received: from mail.iinet.net.au (mail-02.iinet.net.au [203.59.3.34]) by mx1.FreeBSD.org (Postfix) with SMTP id ACF8543D54 for ; Mon, 7 Feb 2005 14:24:54 +0000 (GMT) (envelope-from shinjii@virusinfo.rdksupportinc.com) Received: (qmail 1856 invoked from network); 7 Feb 2005 14:24:53 -0000 Received: from unknown (HELO warren.shinji.nq.nu) (203.206.228.43) by mail.iinet.net.au with SMTP; 7 Feb 2005 14:24:52 -0000 From: Warren To: freebsd-questions@freebsd.org Date: Tue, 8 Feb 2005 00:24:41 +1000 User-Agent: KMail/1.7.2 References: <200502072248.41306.shinjii@virusinfo.rdksupportinc.com> <420778F0.6040300@locolomo.org> In-Reply-To: <420778F0.6040300@locolomo.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200502080024.41683.shinjii@virusinfo.rdksupportinc.com> Subject: Re: /var Full X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Feb 2005 14:24:55 -0000 On Tue, 8 Feb 2005 12:19 am, Erik Norgaard wrote: > Warren wrote: > > im trying to get cacti working, but since im using a small P2 300 machine > > with a small hdd my /var has suddenly become full and im wodering what is > > safe and not safe so to speak to del in the /var dir > > Although you have now found your solution, I'd recommend for such a > question to submit the output of 'du -d1' instead - this will show which > directories are using up the space. > > Cheers, Erik enterprise# du -d1 /var 2 /var/.snap 2 /var/account 6 /var/at 16 /var/backups 4 /var/crash 8 /var/cron 32946 /var/db 2 /var/empty 2 /var/heimdal 2 /var/log 4 /var/mail 4 /var/msgs 2 /var/preserve 40 /var/run 2 /var/rwho 185556 /var/spool 5376 /var/tmp 20 /var/yp 26 /var/named 28 /var/smtpd 224050 /var -- Yours Sincerely Shinjii http://www.shinji.nq.nu