SA-MP Forums Archive
A Question about killall samp03svr cmd on Cent OS - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: A Question about killall samp03svr cmd on Cent OS (/showthread.php?tid=352607)



A Question about killall samp03svr cmd on Cent OS - Samp_India - 20.06.2012

Dose the CMD "killall samp03svr" kill all samp server running in a VPS if i use it on root account? or a single folder(current folder) ? . Also all server file are named as "samp03svr" in all folders.


Re: A Question about killall samp03svr cmd on Cent OS - Silentfood - 20.06.2012

killall bases all terminates on the currently ran processes the current user can access. It's not based on file usage.

Quote:

killall sends a signal to all processes running any of the specified commands. If no signal name is specified, SIGTERM is sent.
Signals can be specified either by name (e.g. -HUP) or by number (e.g. -1).

If the command name contains a slash (/), processes executing that particular file will be selected for killing, independent of their name.

killall returns a zero return code if at least one process has been killed for each ilisted command. killall returns zero otherwise.

A killall process never kills itself (but may kill other killall processes).

Sources: killall documentation