Use disk_total_space() to Get Total Disk Space

Use disk_total_space() to Get Total Disk Space

The disk_total_space() function returns the total number of bytes on a filesystem or disk partition. This is useful for monitoring disk capacity.

← Back to Tips List