From owner-freebsd-questions@FreeBSD.ORG Tue Jun 3 13:38:13 2003 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 EDD2437B401 for ; Tue, 3 Jun 2003 13:38:13 -0700 (PDT) Received: from father.chem.ubc.ca (chem.ubc.ca [137.82.7.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6352443F75 for ; Tue, 3 Jun 2003 13:38:13 -0700 (PDT) (envelope-from zev@interchange.ubc.ca) Received: from Penelope.interchange.ubc.ca (b272a.chem.ubc.ca [137.82.193.51]) by father.chem.ubc.ca (8.12.8/8.12.8) with ESMTP id h53IM8BP007095; Tue, 3 Jun 2003 11:22:08 -0700 Message-Id: <5.1.1.6.2.20030603111547.00a87008@pop.interchange.ubc.ca> X-Sender: zev@pop.interchange.ubc.ca X-Mailer: QUALCOMM Windows Eudora Version 5.1.1 Date: Tue, 03 Jun 2003 11:18:54 -0700 To: "David Daugherty" , From: Zev Thompson In-Reply-To: <40407D2F1E422A49B03C3437FEB986450103F426@RED-MSG-23.redmon d.corp.microsoft.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-MailScanner: Found to be clean Subject: Re: / is filling up 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: Tue, 03 Jun 2003 20:38:14 -0000 The usual solution I use would be (starting in the root directory) "du -kx | sort -n". The x flag prevents crossing partitions when doing the recursive analysis that du is meant to do, while the k flag makes the output in kilobytes. I like this command enough that I have a shortcut to it in my .bashrc called "dk". Check the man page for du for other options if you want. Hope this helps. Zev >My / partition is getting pretty full, 92%. Usually the culprit is something >I'm not rotating in /var/log, but that's not the case this time. Does anyone >have any suggestions to find out where this is? I'm guessing it's probably >something using ls and sort but I'll be damned if I can put something >together that helps this problem. > >David Daugherty > >_______________________________________________ >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"