List of Global Functions
EvaluateFreeSpace - Evaluate the free space on the file system. Runs the command "df" and creates a map containig information about used and free space on every partition. Free space is calculated respecting the spare_percentage given in second argument.
List of Global Variables
Evaluate the free space on the file system. Runs the command "df" and creates a map containig information about used and free space on every partition. Free space is calculated respecting the spare_percentage given in second argument.
Function parameters
integer spare_percentage
Return value
list<map<string,any> > - partition list, e.g. [$["free":389318, "name":"/", "used":1487222], $["free":1974697, "name":"usr", "used":4227733]]