HostICan - Shared Hosting

Where is all my disk space being used?

Who is using all the disk space? That might be a question that you are trying to answer. With a few simple commands, we will show you which account that is.

Which username is using the most disk space?

  • Login to SSH (the information for this is in your welcome email)
  • Run the following command:

    # cd /home/
    # du -skh *

  • The above, will give you an output of something that looks like this:

    260K annapoor
    4.0K cpeasyapache
    3.2M d4dnsco
    288K epagestu
    136K frfuh454
    180K h4d9vl
    181M magimai
    4.0K MySQL-install
    6.3M n8e0i3c
    9.5M qqlcmyjt
    11G s9fygr
    75G tamilchr
    1.8G test
    250M tpmsongs
    3.0M virtueho

  • Now, you see that you have one account that is using most of the disk space "75G tamilchr".

How to find what folder is using the most?

  • Now, that we have determined which account is using the most disk space, we will need to find what folder is using the most space within the account.
  • Please run the following command:

    # cd /home/tamilchr/public_html/
    # du -skh *

  • You will now see the same thing as you did before (in the section above). However, at this point, you will notice that we did it within the public_html/ folder, which will give you more of an idea of where the content is being stored.

    4.0K 401.shtml
    4.0K cgi-bin
    248K chat
    4.0K chat.php
    4.0K chat-rules-popup.html
    71G player
    4.0K prayer-request.php
    8.0K products-vedu.php
    4.0K rpc_relay.html
    4.0K search.php
    8.0K style.css
    12K support.php
    8.0K tamilchristianshop.php
    56K tcs-banner-links

  • Now, you can tell that most of the content that is taking up the space is within the "player" folder at 71GB. At which point, you can decide on what you would like to do with the content within this folder.
Related Articles
No related articles were found.