The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How: Which folder for most disk space used? [moved]

Discussion in 'General Discussion' started by SuperBaby, Apr 21, 2005.

  1. SuperBaby

    SuperBaby Well-Known Member

    Joined:
    Nov 27, 2003
    Messages:
    331
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Thailand
    cPanel Access Level:
    Website Owner
    Twitter:
    How: Which folder for most disk space used?

    Recently I got a warning from cPanel that my website is over 800Mb (80% used). I don't think my site is that BIG. Something must have gone wrong. How do I find out which folder contains the largest files?
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Use du to track down space issues:

    du -h --max-depth=1 /home/username

    cd into a directoy using a lot of space, ls -la to see what is in it, repeat du and process for all directories.
     
Loading...

Share This Page