[Cialug] space by directory

David Champion dchamp1337 at gmail.com
Wed Sep 5 20:12:02 CDT 2012


I use something like what DW posted...

du -sb * | sort -n

Sometimes a graphical tool is nice, I've used several for Windows, and
there are some for Linux. I was curious, did a quick look. Baobab seems to
work pretty well.

http://www.marzocca.net/linux/baobab/index.html

-dc

On Wed, Sep 5, 2012 at 7:55 PM, Todd Walton <tdwalton at gmail.com> wrote:

> On Wed, Sep 5, 2012 at 1:51 PM,  <murraymckee at wellsfargo.com> wrote:
> > We're running Linux under IBM zVM and I have a problem.  One of our
> mount points
> > is running low on space.  I can do "df -h" which tells me which mount
> point is short
> > on space, but I can't seem to find a way to look at the directories
> under the mount
> > point to figure out which one is using up more than its share of space.
>
> Playing Hunt the Disk Hog
>           http://oreilly.com/pub/h/15
>
> > I hoping there is something that I can cd to the mount point and it will
> list the space
> > used by all of the directories underneath it, recursively.  I just want
> a list of the
> > directories immediately below where I am, but with all the space used in
> that
> > directory or any subdirectory under it.
>
> How about du -sh?
>
> --
> Todd
> _______________________________________________
> Cialug mailing list
> Cialug at cialug.org
> http://cialug.org/mailman/listinfo/cialug
>


More information about the Cialug mailing list