kill by name in linux

Para matar todos los procesos con un nombre podemos hacer:

kill `ps auxww | grep <patron> | egrep -v grep | awk ‘{print $2}’`

previo a esto yo haria un

ps auxww | grep <patron>

This entry was posted in linux. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *