High Speed Game Servers
www.e-gameservers.com , game server rental company, halflife2, halflife, halflife 2, CS , DoD , Sof2 , Cod , bf1942, bf:vn, and many more
 
 
SSH: Useful commands
command description
ps x shows current running processes that you own
kill [pid] kills the process with the specified pid
screen -r attaches to a screen such as your server console
vi text editor
pico text editor
   
   

Notes:
Don't include quote marks '' when typing commands unless told to.

Killing your Game Server

Method 1

1. type 'screen -r'
2. Hold down Ctrl and press C.
3. the message '[Screen Terminated]' should appear

Method 2

1. Get your game servers pid by typing ps x. Some information like below should show up

2. Get the pid of your game server
3. type kill -9 PID. In this example PID would be 15732
4. If your game is running an auto restart shell script and you want to stop the server restarting you will need to kill the SCREEN PID.



Starting your game server.

1. Login to your server
2. Ttype ls
3. Change to your games folder. (e.g. Call of Duty = callofduty)
4. type ./start.sh
* NOTE *

Make sure you aren't running more than one process of your game at any one time, or you may find your server is shutdown. To check type ps x
Copyright 2005 © www.e-gameservers.com