lundi 23 mars 2015

Linux- Stop a process running as daemon


I've started uwsgi as a daemon, how can I kill that process?


Everytime I kill its pid, and then does ps aux | grep "uwsgi", it again comesin the output.


I've also tried pkill uwsgi, but no use. How can I kill it?


upon ps aux | grep "uwsgi"



root 2712 0.0 2.6 327540 26952 ? Sl 17:03 0:00 /usr/local/bin/uwsgi --ini conf_uwsgi.ini
root 2716 0.0 2.2 180076 22896 ? S 17:03 0:00 /usr/local/bin/uwsgi --ini conf_uwsgi.ini
root 2718 0.0 0.2 9396 2136 pts/1 S+ 17:03 0:00 grep --color=auto uwsgi
root 16657 0.0 3.2 180076 32520 ? S Mar20 0:15 /usr/local/bin/uwsgi --ini conf_uwsgi.ini


I kill 2712 2716 16657, and upon ps aux | grep "uwsgi" it again shows the same result with different PIDs. How do I kill it?



Aucun commentaire:

Enregistrer un commentaire