#!/bin/bash
Id=`ps -ef|grep /home/jxkj/rap2-delos |grep -v grep|grep -v PPID|awk '{ print $2}'`
Id2=`ps -ef|grep /usr/local/bin/http-server |grep -v grep|grep -v PPID|awk '{ print $2}'`
Id3=`ps -ef|grep pm2 |grep -v grep|grep -v PPID|awk '{ print $2}'`
echo "................................................................................"
echo "Stop rap2-delos:"
kill -9 $Id $Id2 $Id3
echo "Done"