Update nodemgmt-scripts.sh
This commit is contained in:
@@ -111,7 +111,7 @@ case "$1" in
|
|||||||
for srvc in "${NODE_SERVICES[@]}"
|
for srvc in "${NODE_SERVICES[@]}"
|
||||||
do
|
do
|
||||||
if [ "${idsNMservices[${srvc}]}" = "" ]; then idsNMservices[${srvc}]="${srvc}"; fi
|
if [ "${idsNMservices[${srvc}]}" = "" ]; then idsNMservices[${srvc}]="${srvc}"; fi
|
||||||
echo -en "${idsNMservices[${srvc}]} "
|
echo -en "${idsNMservices[${srvc}]} "
|
||||||
if [ $(${NCMD} pgrep ${srvc} | wc -l) -gt "0" ]; then
|
if [ $(${NCMD} pgrep ${srvc} | wc -l) -gt "0" ]; then
|
||||||
echo -e "${idsCL[Green]}Running${idsCL[Default]}"
|
echo -e "${idsCL[Green]}Running${idsCL[Default]}"
|
||||||
else echo -e "${idsCL[Red]}Not Running${idsCL[Default]}"
|
else echo -e "${idsCL[Red]}Not Running${idsCL[Default]}"
|
||||||
|
|||||||
Reference in New Issue
Block a user