Kill Multiple Processes or PID on FreeBSD

Sometime I have problem killing all apache processes or PID on a high load web server even though the service has been stopped. One of the quick way to kill all the services is using ps command.

Try to grep httpd processes which currently running on your server

use awk command to grab the process IDs

using xrgs command to kill all the process ID we have gather earlier.

This is a handful command instead of killing the process ID one by one.
A clean kill.