Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Jun 2003 11:18:54 -0700
From:      Zev Thompson <zev@interchange.ubc.ca>
To:        "David Daugherty" <davidd@datasphereweb.com>, <freebsd-questions@freebsd.org>
Subject:   Re: / is filling up
Message-ID:  <5.1.1.6.2.20030603111547.00a87008@pop.interchange.ubc.ca>
In-Reply-To: <40407D2F1E422A49B03C3437FEB986450103F426@RED-MSG-23.redmon d.corp.microsoft.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5.1.1.6.2.20030603111547.00a87008>