Load agent daemon for AIX in UNIX Daemon - #903

This commit is contained in:
enriquecd 2017-05-25 11:31:05 +02:00
parent d4c635d5f1
commit 37d6d4aca0
1 changed files with 3 additions and 0 deletions

View File

@ -69,6 +69,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