Difference between revisions of "Number devices.system.totalSpace"

From wiki.netio-products.com
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 free space
+
  -- 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