Posts: 2
Threads: 1
Joined: Sep 2005
Reputation:
0
I staret two CS:S Servers on my Server with the following promp line:
screen -A -m -d -S css-server ./srcds_run -console -game cstrike +map de_dust +maxplayers 16 -autoupdate
now its running and running. everything is perfect. but how can i stop it? i wanna delete this server now but i dont know how to do. pls help me!!
Posts: 6
Threads: 0
Joined: Sep 2005
Reputation:
0
If you type:
'ps aux | grep srcds_'
you should get an output similar to:
srcds1 10485 0.0 0.0 2332 1060 ttypd S Sep21 0:00 /bin/sh ./srcds_run..
srcds2 10497 0.0 0.0 2332 1060 ttyq2 S Sep21 0:00 /bin/sh ./srcds_run..
srcds1 10533 0.0 3.0 134420 62980 ttypd S< Sep21 0:13 ./srcds_i686 -gam..
srcds2 10536 0.0 2.9 131244 60368 ttyq2 S< Sep21 0:42 ./srcds_i686 -gam..
Identify the two processes the games are running under, either ./srcds_i686 or ./srcds_i486 depending on your setup, then take note of the two PIDs (numbers) on the second column of the same lines, in the case of the example, 10533 and 10536.
then simply type:
'kill -9 10533'
'kill -9 10536'
to terminate the processes.
Another option would be simply to resume screen, by typing 'screen -raAd' and ending the processes by hitting 'ctrl+c'
..Hi btw, I'm new to these forums.
Posts: 2
Threads: 1
Joined: Sep 2005
Reputation:
0
yeah thx ... like this it works ^^
Posts: 1,217
Threads: 42
Joined: Dec 2004
Reputation:
0
Or you ccould try screen -r css-server then type in quit BUT since you wanted to delete the server im quite sure this post is well... pointless =o
starting 9/24/2006 if your problem has been solved please edit your first post and add [solved] to the begining of the title. Thanks.
Posts: 6
Threads: 0
Joined: Sep 2005
Reputation:
0
I don't think his english is quite up to par, and I intepreted what he said as wanting to terminate the 'server' or delete the process, particularly as the last thing he said he did was start it.