ps aux | grep 要查询的进程名 查询当前进程,如 ps aux | grep python 确认过需要查询的进程,就可以进行 kill -9 进程号等操作了。 转载于:https://www.cnblogs.com/drjava/p/10537577.html