Kill multiple Linux processes one command

Kill multiple Linux processes one command

Kill multiple Linux processes one command 150 150 Roderick Derks

ps ax | grep {PROCESSNAME} | grep -v grep

kill -9 `ps ax | grep {PROCESSNAME} | grep -v grep|awk '{print $1}'`

Roderick Derks

Liefhebber van fietsen, van het oplossen van IT puzzels, en van het delen van informatie om anderen te helpen.

All stories by:Roderick Derks

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

    Your Name (required)

    Your Email (required)

    Subject

    Your Message

      Your Name (required)

      Your Email (required)

      Subject

      Your Message