ps aux | grep  要查询的进程名

查询当前进程,如

ps aux | grep python

 shell 命令 --ps aux | grep

 确认过需要查询的进程,就可以进行 kill -9 进程号等操作了。

相关文章: