#!/bin/sh
#Script name: stopNodeManager.sh
#Path: /home/bea/weblogic103/server/bin/
#Author: pavankumar
PID=`ps -ef | grep weblogic.NodeManager | grep -v grep | awk '{print $2}'`
if [ ! -z $PID ]
then
ps -ef | grep weblogic.NodeManager | grep -v grep
echo;echo;echo
echo "Stopping NodeManager with pid:$PID ..."
kill -9 $PID
PID=`ps -ef | grep weblogic.NodeManager | grep -v grep | awk '{print $2}'`
if [ -z $PID ]
then
echo "DONE."
else
echo "FAILED."
exit 1
fi
else
echo "NodeManager is not running"
fi
1 comment:
PLEASE UPDATE WEBLOGIC SENORIA IT WILL HELP THE EXPERIANCE PEOPLE
Post a Comment