Update nodemgmt-scripts.sh
This commit is contained in:
@@ -89,6 +89,7 @@ STATUS() {
|
||||
c=0; cw=22; spc=''
|
||||
spc1=${cw}-${#NM_SERVICES[${srvc}]}
|
||||
until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done
|
||||
echo "${NCMD}"
|
||||
echo -en " ${NM_SERVICES[${srvc}]}$spc: "
|
||||
if [ $(${NCMD} pgrep ${srvc} | wc -l) -gt "0" ]; then
|
||||
echo -e "${idsCL[Green]}Running${idsCL[Default]}"
|
||||
|
||||
Reference in New Issue
Block a user