Question

How can i check individual domains and disk usage?

I need to check how much space a website hosted on our server is taking.


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

If you would like to check on the individual website, you first need to determine a) the root directory of the site and b) if there is any data outside of that directory the site uses. If it is for instance a WordPress site, the size of the website is the sum total of the files in its root directory, associated directories [like when content is linked outside of the default directory] and the database the site uses. <br> <br>If the site is composed of just static files and does not use a database. Then you can SSH into your droplet, cd to the directory where the site’s files are, and run du -h --max-depth=1 <br> <br>This will return the size of the current directory and sub-directories from within.