Kill Process with Perl Regular Expression


/ Published in: Bash
Save to your folder(s)



Copy this code and paste it in your HTML
  1. kill -9 $(ps -eo pid,command | grep -P "(Util_).+[(py)|(pl)]|(Service_.+[(py)|(pl)])" | awk '{print $1}')

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.