shutdown.sh 153 B

12345678
  1. echo "Stopping gen.jar"
  2. pid=`ps -ef | grep gen.jar | grep -v grep | awk '{print $2}'`
  3. if [ -n "$pid" ]
  4. then
  5. echo "stop pid:" $pid
  6. kill -9 $pid
  7. fi