By dpeach27
How can I tell how much disk space I am using please for my droplet? I use it for my website and am about to upload quite a few images.
thanks in advance, Dave.
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!
You can check how much disk space you are using by running the df command.
root@droplet:~# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/vda1 40G 3.9G 34G 11% /
none 4.0K 0 4.0K 0% /sys/fs/cgroup
udev 999M 4.0K 999M 1% /dev
tmpfs 202M 324K 202M 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 1008M 0 1008M 0% /run/shm
none 100M 0 100M 0% /run/user
The -h option is used to output human readable sizes (e.g. 34G instead of 34000000000 bytes).
In this example, the droplet is using 3.9 gigabytes of disk space.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.