jcs:sysctl() Function
Syntax
var $value = jcs:sysctl(sysctl-value, "(i | s)")
Description
Return the value of the given sysctl value as a string or an integer. Use the "i" argument to specify an integer. Use the "s" argument to specify a string.
Parameters
- sysctl-value—sysctl value to convert to a string or integer.
Return Value
- $value—Returned string or integer value.
var $value = jcs:sysctl("kern.hostname", "s");
Hide Navigation Pane
Show Navigation Pane
Download
SHA1