Skip to content

Commit 25f98c3

Browse files
committed
triton/ref/quotas: dust as quota tool
1 parent d9ae95f commit 25f98c3

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

triton/ref/quotas.rst

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,18 @@
33
recommend project-based storage instead of increasing personal
44
quotas.
55
* ``quota`` - print your quota and usage
6-
* ``du -h $HOME | sort -h``: print all directories and
7-
subdirectories in your home directory, sorted by size. This lets
8-
you find out where space is being used. ``$HOME`` can be
9-
replaced with any other directory (or left off for the current
10-
directory). Use ``du -a`` to list all files, not only directories.
6+
* Finding what is using space
117

12-
* ``du -h --max-depth=1 $HOME | sort -h``: Similar, but only list
13-
down to ``--max-depth`` levels.
14-
* ``du --inodes --max-depth=1 $HOME | sort -n``: Similar, but list
15-
the number of files in the directories.
8+
* The ``dust`` tool prints a nice tree of largest directories.
9+
``module load dust`` then ``dust $HOME`` on Triton. ``$HOME`` can be
10+
replaced with any other directory (or left off for current directory)
11+
* ``du -h $HOME | sort -h``: Like above but works everywhere. Use
12+
``du -ah`` to list all files.
13+
14+
* ``du -h --max-depth=1 $HOME | sort -h``: Similar, but only list
15+
down to ``--max-depth`` levels.
16+
* ``du --inodes --max-depth=1 $HOME | sort -n``: Similar, but list
17+
the number of files in the directories.
1618

1719
* ``rm`` removes a single file, ``rm -r`` removes a whole directory
1820
tree. **Warning: on scratch and Linux in general (unless backed

0 commit comments

Comments
 (0)