Difference between revisions of "Number devices.system.totalSpace"
Jump to navigation
Jump to search
(Založena nová stránka s textem „{{DISPLAYTITLE:number devices.system.freeSpace}} Returns total space on the socket's disk (in MB). number devices.system.totalSpace === Value === <i>num…“) |
(→Usage) |
||
Line 8: | Line 8: | ||
=== Usage === | === Usage === | ||
− | -- log | + | -- log used space |
logf("Space used: %dMB", devices.system.totalSpace - devices.system.freeSpace) | logf("Space used: %dMB", devices.system.totalSpace - devices.system.freeSpace) | ||
=== See also === | === See also === | ||
* [[Devices.system.freeSpace|devices.system.freeSpace]] - free space on the socket's disk | * [[Devices.system.freeSpace|devices.system.freeSpace]] - free space on the socket's disk |
Revision as of 19:01, 18 April 2017
Returns total space on the socket's disk (in MB).
number devices.system.totalSpace
Value
number socket's disk capacity
Usage
-- log used space logf("Space used: %dMB", devices.system.totalSpace - devices.system.freeSpace)
See also
- devices.system.freeSpace - free space on the socket's disk