Gdu

Gdu is a disk usage analyzer that can be used to find out what is using up disk space. It is particularly useful for finding the largest files in your home directory or gscratch directories.

Gdu available as an Lmod module on Klone compute nodes.

Use with Lmod

Like all Lmod modules, the gdu module is available only on Klone compute nodes, and these commands will not work on the login node.

Checking available versions

Because the module for CONN is installed in the escience hierarchy, its name is prefixed with escience/.

You can check the installed versions as follows:

module spider escience/gdu

The output should look a bit like this:

---------------------------------------
  escience/gdu: escience/gdu/5.25.0                                                           
---------------------------------------    
                                                                                              
    This module can be loaded directly: module load escience/gdu/5.25.0                       
                                                                                              
    Help:                                                                                     
      escience/gdu                                                                            

Running Gdu

Load the default version with module load escience/gdu or load a specific version with module load escience/gdu/version.

After loading the module, enter gdu into the shell to run the program.

Demo

The following demo shows how to use gdu to find the largest files and directories in the /sw/contrib/escience-src directory, where the contents of Lmod modules are stored.