Extra check on kctune
This commit is contained in:
parent
b069d08d38
commit
ae293c5b0d
@ -72,13 +72,19 @@ then
|
|||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# collect data (mount only)
|
# check & get kctune information
|
||||||
${_KCTUNE_BIN} >>${HC_STDOUT_LOG} 2>>${HC_STDERR_LOG}
|
if [[ ! -x ${_KCTUNE_BIN} ]]
|
||||||
if (( $? != 0 ))
|
|
||||||
then
|
then
|
||||||
_MSG="unable to gather kctune information (not HP-UX 11.31?)"
|
warn "kctune is not installed here (not HP-UX 11.31?)"
|
||||||
log_hc "$0" 1 "${_MSG}"
|
return 1
|
||||||
return 0
|
else
|
||||||
|
${_KCTUNE_BIN} >>${HC_STDOUT_LOG} 2>>${HC_STDERR_LOG}
|
||||||
|
if (( $? != 0 ))
|
||||||
|
then
|
||||||
|
_MSG="unable to gather kctune information"
|
||||||
|
log_hc "$0" 1 "${_MSG}"
|
||||||
|
return 0
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# check configuration values
|
# check configuration values
|
||||||
|
Loading…
x
Reference in New Issue
Block a user