Update nodemgmt-scripts.sh
This commit is contained in:
@@ -144,7 +144,7 @@ STATUS(){
|
|||||||
fi
|
fi
|
||||||
if [ "${checkhost}" != "false" ]; then
|
if [ "${checkhost}" != "false" ]; then
|
||||||
if [ "${ST_ACTION}" != "check" ]; then
|
if [ "${ST_ACTION}" != "check" ]; then
|
||||||
uptime=`${NCMD} uptime -p`
|
[ "${ST_ACTION}" != "report" ] && uptime=`${NCMD} uptime -p`
|
||||||
echo -e " ${idsST[Bold]}${idsCL[LightCyan]}${NM_NODETYPES[$NTYPE]}-Node${nid} (${nip})${idsST[Reset]}${idsCL[LightCyan]} - ${uptime} ${idsCL[LightYello]}${LH}${idsCL[Default]}"
|
echo -e " ${idsST[Bold]}${idsCL[LightCyan]}${NM_NODETYPES[$NTYPE]}-Node${nid} (${nip})${idsST[Reset]}${idsCL[LightCyan]} - ${uptime} ${idsCL[LightYello]}${LH}${idsCL[Default]}"
|
||||||
DIVIDER false green
|
DIVIDER false green
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user