Linux下ps查找并用kill命令终止进程

ps -ef |grep “string matches”|grep -v “grep” |awk ‘{print $2}’|xargs kill -9

Leave a Reply

 

 

 

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Protected by WP Anti Spam