« Back to Product

Documentation

IPS_GetKernelDirSpace

Require: Symcon >= 6.2

 array IPS_GetKernelDirSpace ()

Returns

Array with the total/free/available disk space in bytes

Description

The function returns an array containing the keys Total/Free/Available.
Those contain the total/free/available disk space in bytes of the drive on which all data of IP-Symcon is stored.

Example

print_r(IPS_GetKernelDirSpace());
// Sample output:
/*
Array
(
    [Total] => 511582613504
    [Free] => 96859312128
    [Available] => 96859312128
)
*/
Any questions?