不知道pid的情况下如何停掉uwsgi

 

[root@dsc1 mydjango]# ps ax | grep uwsgi
18835 ?        S      0:01 uwsgi -i mydjango.ini
18836 ?        Sl     0:42 uwsgi -i mydjango.ini
18837 ?        Sl     0:42 uwsgi -i mydjango.ini
18838 ?        Sl     0:39 uwsgi -i mydjango.ini
18839 ?        Sl     0:41 uwsgi -i mydjango.ini
23916 pts/3    R+     0:00 grep --color=auto uwsgi

[root@dsc1 mydjango]# which uwsgi
/usr/local/bin/uwsgi
[root@dsc1 mydjango]#killall -s INT /usr/local/bin/uwsgi

 

posted @ 2024-05-31 17:02  slnngk  阅读(10)  评论(0编辑  收藏  举报