Commit ffa05af0 authored by 白秀江's avatar 白秀江

更新dump.sh

parent ce8bbef8
...@@ -12,7 +12,7 @@ if [ -z "$SERVER_NAME" ]; then ...@@ -12,7 +12,7 @@ if [ -z "$SERVER_NAME" ]; then
SERVER_NAME=`hostname` SERVER_NAME=`hostname`
fi fi
PIDS=`ps -f | grep java | grep "com.alibaba.dubbo.container.Main" |awk '{print $2}'` PIDS=`ps -f | grep "com.alibaba.dubbo.container.Main" |awk '{print $2}'`
if [ -z "$PIDS" ]; then if [ -z "$PIDS" ]; then
echo "ERROR: The $SERVER_NAME does not started!" echo "ERROR: The $SERVER_NAME does not started!"
exit 1 exit 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment