How to determine file or directory taking much disk space?

Created:

2016-11-16 13:05:01 UTC

Modified:

2017-04-24 11:58:15 UTC

0

Was this article helpful?


Have more questions?

Submit a request

How to determine file or directory taking much disk space?

Applicable to:

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

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.