disk-free( [path a], [modus b,[unit c]] )
Group |
Checks the disk space of the partition as given by the local path a. The default value is ./, which means the installation directory of the Lobster Integration Server. The optional mode parameter b and the optional unit parameter c can modify the output.
Description of Parameters
Parameter |
Description |
a |
(optional) Path name, absolute or relative to the Integration Server installation folder. Default: ./ |
b |
(optional) Mode [total|used|free|all|header]. Default: all |
c |
(optional) Unit [byte|kbyte|Mbyte|%]. Default: byte |
Hints:
Both the mode b, as well as the unit c can be set with the first character.
Parameter c is evaluated only within the mode total, used or free.
Mode all shows three values (in bytes), separated by commas: <total memory>,<used memory>,<free memory>.
The mode header shows only a header line for mode all: total, used, free
Example
Parameter a |
Parameter b |
Parameter c |
Result |
Description |
./temp/myFile.jpg |
f |
% |
64% |
Free disk space under the relative path in percent of total space. |
D:/ |
total |
M |
75295 |
Total space on drive D:/ in Mbytes. |