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

Return Value

var $value = jcs:sysctl("kern.hostname", "s");