#procedure_name = 进程名;
$ ps -ef | grep procedure_name | grep -v grep | awk '{print $2}' | xargs kill -9
Linux根据进程名杀死进程
最新推荐文章于 2024-10-11 13:13:49 发布
#procedure_name = 进程名;
$ ps -ef | grep procedure_name | grep -v grep | awk '{print $2}' | xargs kill -9