Portal Home > Knowledgebase > Server Administration > Disk Space Usage
How do I check disk space usage?
Run this via command line (linux only) inside
any directory you want the disk usage for.
ls -lhr --sort=size
For total server disk usage:
df -h
For in depth directory usage / sorted by size
du -c --max-depth=1 / | sort -n
or unsorted
du -h --max-depth=1
Add to Favourites
Print this Article