Andy Wojnarek on 20 Apr 2016 08:19:21 -0700

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Good tools to assay disk usage in linux

I use:

Andrews-MacBook-Pro:/ root# find . -ls 2>/dev/null | awk '{ print $7 " " $NF }' | sort -rn | head -5
5706997760 ./Users/awojnarek/Downloads/VMware-OpenStack-
3438788608 ./System/Library/Caches/
1315634608 ./Library/Updates/031-53822/OSXUpd10.11.4Patch.pkg
1150844928 ./Users/awojnarek/sft/ubuntu-15.04-desktop-amd64.iso
1073741824 ./private/var/vm/sleepimage

I like using find command, it’s quicker than du.

Andrew Wojnarek |  Sr. Systems Engineer    | ATS Group, LLC

On Apr 20, 2016, at 11:14 AM, JP Vossen <> wrote:

I used to use `du -hl <various>` a lot until I found `ncdu` which is a curses-based CLI tool.  The awesome part is that it walks the tree first, then you can navigate around instantly, to see what's what.  It's in the repos for Debuntu-like systems.

`man ncdu` and see "-x" and  "--exclude-caches" also.

If that doesn't work, here are some other clues:
* gt5 - Quite similar to ncdu, but a different approach.
* tdu - Another small ncurses-based disk usage visualization utility.
* TreeSize - GTK, using a treeview.
* Baobab - GTK, using pie-charts, a treeview and a treemap. Comes with GNOME.
* GdMap - GTK, with a treemap display.
* Filelight - KDE, using pie-charts.
* KDirStat - KDE, with a treemap display.
* QDiskUsage - Qt, using pie-charts.
* xdiskusage - FLTK, with a treemap display.
* fsv - 3D visualization.
* Philesight - Web-based clone of Filelight.

On 04/20/2016 10:56 AM, Michael Lazin wrote:
I often use "du -sh ./*" to see what directory in a webspace uses the
most space.  This will list the size of each directory you are in in
human readable format.  If you want something fancier let me know.  I
can probably point you in the right direction.

On Wed, Apr 20, 2016 at 10:54 AM, Paul Walker <
<>> wrote:

   Looking for good command line tools for assaying disk usage. I'd
   like to be able to crawl the disk down to an arbitrary depth and
   output the size of each directory. I don't really want to write too
   much bash in the process! Any good goto tools you could share?

--  -------------------------------------------------------------------
JP Vossen, CISSP | |
Philadelphia Linux Users Group         --
Announcements -
General Discussion  --

Philadelphia Linux Users Group         --
Announcements -
General Discussion  --