With a little side of applesauce...

Tuesday, January 30, 2007

Kill that pesky apache2 process

Here is the quick kill command, when the /etc/init.d/apache2 script doesn’t kill apache2 processes:

for process in $(ps -ef | grep apache2 | awk '{print $2}'); do kill $process ; done

No comments: