linux 批量kill java进程
ps -ef |grep java |grep -v grep|awk '{print $2}'|xargs kill -9
a772304419 ©著作权
linux 批量kill java进程
ps -ef |grep java |grep -v grep|awk '{print $2}'|xargs kill -9
上一篇:mapreduce运行模式
下一篇:Go gin文件上传
有时候因为一些情况,需要把 linux 下符合某一项条件的所有进程 kill 掉,又不能用 killall 直接杀掉某一进程名称包含的所有运行中进程(我们可能只需要杀掉其中的某一类或运行指定参数命令的进程),这个时候我们需要运用 ps, grep, cut和 kill一起操作。ok,下面给出具体的参
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M