#!/bin/bash 
. ./env.sh 

PID=`ps -ef | grep java | grep "server=$SERVER_NAME" | awk '{print $2}'`
#echo $PID

if [ e$PID != "e" ]
then
  echo "Running"
  exit;
else
  echo "Stopped"
fi
