Kill all apache processes
From linuxProblems
Sometimes a shutdown script just won't work.
This command lists just the process id's for apache
[root@www ~]# pgrep -u apache 6563 6565 9173 9175 9177 9246
[quick@www ~]$ ps -C httpd -o pid= 6563 6565 9173 9175 9177 9246
Pipe these to xargs
[quick@www ~]$ ps -C httpd -o pid= | xargs kill
Of course you could use pkill as well :-)