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

November 3, 2019 86 views
DigitalOcean Accounts

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

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.

Regards,
KDSys

Have another answer? Share your knowledge.