Attention

The ShARC HPC cluster was decommissioned on the 30th of November 2023 at 17:00. It is no longer possible for users to access that cluster.

ncdu

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, and should be able to run in any minimal POSIX-like environment with ncurses installed.


Interactive usage

After connecting to ShARC (see Establishing a SSH connection), start an interactive graphical session with the qrshx command.

The latest version of ncdu (currently version 1.15.1) is made available with the command:

$ module load utils/ncdu/1.15.1/binary

After this any of the ncdu commands can be run from the terminal prompt. The available commands can be obtained using:

$ ncdu --help

ncdu is an excellent tool for determining what files and folders are consuming your storage quota in the file storage areas. The example command below instructs ncdu to scan your home directory and will then show an interactive summary of storage usage by file and folder.

$ ncdu $HOME

Screenshots of the program in use can be found on the following page: https://dev.yorhel.nl/ncdu/scr


Installation notes

Installation method

ncdu version 1.15.1 was installed using provided binaries at https://dev.yorhel.nl/download/ (ncdu-linux-x86_64-1.15.1.tar.gz).


Testing

Testing has been conducted by running an interactive session and scanning a directory with success.


Modulefiles

The module file is on the system at /usr/local/modulefiles/utils/ncdu/1.15.1/binary.