40GB droplet, PHP sees 39.24GB

July 22, 2015 665 views
DigitalOcean Monitoring PHP

I have an admin dashboard with a feature to monitor my disk usage. I am on the 40GB droplet but using disk_total_space(), then rendering the output in a more readable format shows 39.24GB.

Is this normal? It's not a problem if it is, just want to make sure my droplet/code is not showing a mistake.

1 comment
  • Disk partitions consume some of your harddrives space. check your console df -h to verify your results.

Be the first one to answer this question.