ncdu

New add-on as of Core Update 151.

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. Ncdu aims to be fast, simple and easy to use. 1

Installation

ncdu can be installed with the Pakfire web interface or via the console:

pakfire install ncdu

Usage

There is no web interface for this Addon. To run this Addon open the client console or terminal and access the IPFire box via SSH.

To obtain a list of possible commands, options, and arguments:

ncdu -h

The output is similar to this:

[root@ipfire ~]# ncdu -h
ncdu <options> <directory>
  -h,--help                  This help message
  -q                         Quiet mode, refresh interval 2 seconds
  -v,-V,--version            Print version
  -x                         Same filesystem
  -e                         Enable extended information
  -r                         Read only
  -o FILE                    Export scanned directory to FILE
  -f FILE                    Import scanned directory from FILE
  -0,-1,-2                   UI to use when scanning (0=none,2=full ncurses)
  --si                       Use base 10 (SI) prefixes instead of base 2
  --exclude PATTERN          Exclude files that match PATTERN
. . .

Launch

To scan and browse the full filesystem all you need is a simple:

ncdu /

None

Edit Page ‐ Yes, you can edit!

Older Revisions • October 28 at 1:51 am • Jon