diskfree
Prototype: diskfree(path)
Return type: int
Descriptions: Return the free space (in KB) available on the current
partition of path.
If path is not found, this function returns 0.
Arguments:
path: File system directory, in the range"?(/.*)
Example:
bundle agent example
{
vars:
"free" int => diskfree("/tmp");
reports:
"Freedisk $(free)";
}
