Show Disk Usage with NCDU

Valic —  October 14, 2011 — 1 Comment

NCDU is a disk usage analyzer with an ncurses interface, aimed to be run on a remote server where you don’t have an entire gaphical setup, but have to do with a simple SSH connection.

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.


[php]apt-get </code><code>install</code> <code>ncdu[/php]

Issuing ncdu inside the folder that you want to check will open a cool ncurses interface, really easy to use.

ncdu usage:

  •   -h                         This help message
  •   -q                         Quiet mode, refresh interval 2 seconds
  •   -v                         Print version
  •   -x                         Same filesystem
  •   –exclude PATTERN          Exclude files that match PATTERN
  •   -X, –exclude-from FILE    Exclude files that match any pattern in FILE


Continue Reading…