Is there a way to see how much disc space I'm using?

Is there a way to see how much disc space I’m using?

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.

Hi @AJD,

You can see how much space you are using on your droplet by performing the following

ssh root@IpOfYourDroplet

Once you are in, type in the following

df -h

And you’ll be presented with a similar output

Filesystem      Size  Used Avail Use% Mounted on
devtmpfs        473M     0  473M   0% /dev
tmpfs           496M     0  496M   0% /dev/shm
tmpfs           496M   63M  434M  13% /run
tmpfs           496M     0  496M   0% /sys/fs/cgroup
/dev/vda1        25G  4.0G   22G  16% /
tmpfs           100M     0  100M   0% /run/user/0

If you check the /dev/vda1 you’ll see how much size you have at maximum, how much you’ve used and how much available you have left.

Regards, KDSys