Helllpppp
how can i kill this process without a using the PID
Code:
./cod_lnxded +set net_ip 209.165.244.229 +set net_port 28960 +set dedicated 2 +exec dedicated.cfg & |
Why can't you kill it using its pid?
|
It would help if you told us what distro you are running. You need to find the PID, which is not difficult, you do either:
Code:
ps -aux |grep cod_lnxded Code:
ps -ef |grep cod_lnxded Code:
kill -15 (PID#) Peace, JimBass |
Fedora C4
Im trying write a script that will start, stop, or restart this process. thats why im looking for a way to kill it without having to use the PID |
Look at the other scripts that do that then. Look at the /etc/init.d directory. Most of the scripts in there can be called with stop, start, reload and such. Check out what they do, and then modify it to your needs.
Peace, JimBass |
killall cod_lnxded
|
thanks guys
|
All times are GMT -5. The time now is 09:53 PM. |