Useful commands

Useful commands

The following describes a number of commands users may find useful when using available HPC systems.

qhist

qhist is a locally written command which summarizes the total usage of a user and user's projects. See the output of qhist --help for details. To display your usage simply type:

$qhist

With qhist you can also view your usage for a given time interval, just specifying the exact dates. For example, to check the usage in 2020 one should type:

$qhist 2013-09-01 2013-10-31

du

A system command which estimates the disk usage of a given directory. It is best practise to use the “-sh” options to get the total usage of the given directories in a human readable format.

$du -sh /path/to/directory

For more details on the du command consult the manual using “man du”.

df -h

A system command which estimates the disk usage of a filesystem. The df -h command alone will list the details of all available filesystems.