sys.sys.total_disk_space
Declaration
lua
sys.total_disk_space([path])
Description
Get total disk space in megabytes.
Parameters
`path` (string, optional) — path to check (default: /var)
Return Values
`number` — total space in MB
Example
lua
local total = sys.total_disk_space()