Linux - How to kill multiple process of a service, Kill a particular program

How to kill multiple process of a service

To kill all the httpd or apache process you can use the following command.
 # ps ax| awk '/[h]ttpd/{print $1}'| xargs kill -9

The above command will kill all the http process on the server.

To kill all php programs use
 # fuser -k /usr/bin php
Which will kill all the php process.

The topic on Linux - How to kill multiple process of a service is posted by - Maha

Hope you have enjoyed, Linux - How to kill multiple process of a serviceThanks for your time

Tech Bluff