yhdev/dat/ncdu.md
2020-05-30 10:17:50 +02:00

4.1 KiB

% NCurses Disk Usage

Ncdu is a disk usage analyzer with an ncurses interface. It is designed to find space hogs on a remote server where you don't have an entire graphical setup available, but it is a useful tool even on regular desktop systems. Ncdu aims to be fast, simple and easy to use, and should be able to run in any minimal POSIX-like environment with ncurses installed.

Download

Latest version
1.15 (ncdu-1.15.tar.gz - changes)

I also have convenient static binaries for Linux i486, x86_64, ARM and AArch64. Download, extract and run; no compilation or installation necessary (uses musl).

Development version
The most recent code is available on a git repository and can be cloned with git clone git://g.blicky.net/ncdu.git/. The repository is also available for online browsing.

Ncdu is entirely written in C and available under a liberal MIT license.

Packages and ports

Ncdu has been packaged for quite a few systems, here's a list of the ones I am aware of:

AIX - Alpine Linux - ALT Linux - Arch Linux - CRUX - Cygwin - Debian - Fedora - FreeBSD - Frugalware - Gentoo - GNU Guix - NixOS - OpenBSD - Mac OS X (Fink - Homebrew - MacPorts) - Puppy Linux - Solaris - Slackware - Slax Linux - Ubuntu - Void Linux

Packages for RHEL and (open)SUSE can be found on the Open Build Service.

Packages for NetBSD, DragonFlyBSD, MirBSD and others can be found on pkgsrc.

A port to z/OS is available here.

Similar projects

  • Duc - Multiple user interfaces.
  • gt5 - Quite similar to ncdu, but a different approach.
  • tdu - Another small ncurses-based disk usage visualization utility.
  • tdu - Go command-line tool with ncdu JSON export.
  • 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.