Kill all running servers in PUTTY
#1

I think there might be an old SAMP server running on my FTP (or some other server), but I have no idea where it would be running (meaning I'm not sure what to kill).

Does anyone know a kill all command for PUTTY (linux) servers?

I'm not very experienced in PUTTY so exact commands would be good, thanks!
Reply
#2

http://www.ss64.com/bash/kill.html

List the running process
$ ps

$ kill PID
Reply
#3

so $ ps was an invalid command, however ps worked... It said this:

PID TTY TIME CMD
10271 pts/0 00:00:00 bash
10327 pts/0 00:00:00 ps

What does this mean, also none of these say or look like anything to do with the running SA-MP server I have running, so I'm confused...?
Reply
#4

this means you do not have any samp server currently running.

You should see ./samp03server or a directory where you placed the samp servers .exe.
Reply
#5

I know for a fact there is a SA-MP server running though on the Linux FTP?
Reply
#6

try and type killall. Then any process that does not have auto restart should be killed. But if the ps doesnt show a sampserver CMD then that means its not running for sure.
Reply
#7

Quote:
Originally Posted by jakejohnsonusa
Посмотреть сообщение
so $ ps was an invalid command
The $ just basically means it is the start of a command. If you open up a terminal you'll notice $ is at the end of your login. # comes up instead when under root.

I could go into details but I'm not going to.
Reply
#8

You could just reboot the whole server, no?
Reply
#9

"killall samp03svr"
Reply
#10

killall -u [user running the server]

Kills all processes run by a specific user.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)