Load agent daemen for AIX in UNIX Daemon - #904

This commit is contained in:
enriquecd 2017-05-25 11:37:22 +02:00
parent 6fb8744119
commit e958dd8df3
1 changed files with 3 additions and 0 deletions

View File

@ -65,6 +65,9 @@ pidof_pandora () {
break
fi
done
elif [ "$OS_NAME" = "AIX" ]; then
# AIX
PANDORA_PID=`ps -ef | grep "$DAEMON $PANDORA_PATH" | grep -v grep | awk '{ print $2 }'`
else
PANDORA_PID=`ps -Afw | grep "$DAEMON $PANDORA_PATH" | grep -v grep | awk '{ print $2 }'`
fi