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

Posted November 3, 2019 568 views
DigitalOcean Accounts

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

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.

Submit an Answer
1 answer

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.