This commit is contained in:
aozhiwei 2023-10-02 11:11:39 +08:00
parent f4518282c0
commit 3d72824f42
3 changed files with 0 additions and 24 deletions

View File

@ -1,11 +0,0 @@
path_arr=$(echo $PWD|tr '/' '\n')
path_arr=(${path_arr})
GAME_ID=${path_arr[-5]}
if echo $GAME_ID | grep -q '[^0-9]'
then
echo 'game_id参数必须为数字'
exit 1
fi
python ../../third_party/tools/scripts/server/monitor.py gameserver${GAME_ID} '-n1 -i1'

View File

@ -1,10 +0,0 @@
#!/bin/bash
source /etc/profile
source /root/.bash_profile
./gameserver2006 -n $1 -i $2 >> gameserver2006$2_$1.out
echo $? >> start.log
date >> start.log
echo $1 $2 >> start.log
free -m >> start.log

View File

@ -1,3 +0,0 @@
#!/bin/bash
nohup sh real_start_instance.sh 1 1 2>&1 &