Report this

What is the reason for this report?

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

Posted on November 3, 2019
AJD

By AJD

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



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.

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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.