Hey everyone!
I want to check how much disk space my DigitalOcean Droplet is using. What’s the best way to do that from the terminal? Thanks in advance!
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!
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.
Hey! 👋
You can check your Droplet’s disk space usage with:
This will show all mounted filesystems and their usage in a human-readable format.
To see which directories are taking up space, run:
Let me know if you need help freeing up space!
- Bobby
Heya,
The command you are looking for is
df -h
. That would give you some information likeYou see
/dev/vda1 24G 16G 7.4G 69% /
that is yyour Disk Space, what is the total size, what is used and what is available.