protected function grabkey($key)
    {
        if (CommonFunctions::executeProgram('sysctl', $key, $s, PSI_DEBUG)) {
            $s = preg_replace('/'.$key.': /', '', $s);
            $s = preg_replace('/'.$key.' = /', '', $s);

            return $s;
        } else {
            return '';
        }
    }
protected function grabkey($key)
    {
        if (CommonFunctions::executeProgram('sysctl', $key, $s, PSI_DEBUG)) {
            $s = preg_replace('/'.$key.': /', '', $s);
            $s = preg_replace('/'.$key.' = /', '', $s);

            return $s;
        } else {
            return '';
        }
    }
protected function grabkey ( $ key ) { if ( CommonFunctions :: executeProgram ( 'sysctl' , $ key , $ s , PSI_DEBUG ) ) { $ s = preg_replace ( '/' . $ key . ': /' , '' , $ s ) ; $ s = preg_replace ( '/' . $ key . ' = /' , '' , $ s ) ; return $ s ; } else { return '' ; } }
get a value from sysctl command

@param string $key key of the value to get

@return string
get a value from sysctl command