This commit is contained in:
aozhiwei 2020-08-25 14:23:24 +08:00
parent 72bfc3bd73
commit 8d64947cec

View File

@ -3,7 +3,7 @@
source /etc/profile
source /root/.bash_profile
pid=`ps -ef|grep 'gameserver2004 -n 1 -i 1'|grep -v grep|awk '{print $2}'`
pid=`ps -ef|grep 'gameserver2004 -n $1 -i $2'|grep -v grep|awk '{print $2}'`
echo $pid
if [[ $pid != "" ]]