How to determine file or directory taking much disk space?

Refers to:

  • Plesk Onyx for Linux
  • Plesk 11.0 for Linux
  • Plesk 11.5 for Linux

Created:

2016-11-16 13:05:01 UTC

Modified:

2016-12-21 19:55:06 UTC

0

Was this article helpful?


Have more questions?

Submit a request

How to determine file or directory taking much disk space?

Symptoms

How to determine file or directory taking much disk space?

Resolution

  1. To get partitions usage statistics use the following command:

    # df -h
  2. Within a partition use the command below. You can increase --max-depth value to go deeper into directory structure:

    # du -h --max-depth=1 /
  3. You can also get usage statistics for a particular directory, as below:

    # du -h --max-depth=1 /etc
Have more questions? Submit a request
Please sign in to leave a comment.