Update nodemgmt-scripts.sh

This commit is contained in:
2019-01-29 19:41:12 -06:00
parent 613c4662f8
commit 90dfea3bfb

View File

@@ -111,7 +111,7 @@ case "$1" in
for srvc in "${NODE_SERVICES[@]}"
do
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
echo -e "${idsCL[Green]}Running${idsCL[Default]}"
else echo -e "${idsCL[Red]}Not Running${idsCL[Default]}"