比如杀掉gunicorn进程:

ps -ef|grep gunicorn |grep -v grep|awk '{print $2}'|xargs kill -9

可以将以上gunicorn替换为其他进程名,比如uwsgi。