Posts

Showing posts from June, 2012

Clean up apache process

routine script for cleaning up process from script kiddies:
/etc/init.d/httpd stop
/etc/init.d/httpd stop
# my killall does not support -u
for a in `ps auxww | grep -r ^apache | awk -F " " '{ print $2 }'`; do
kill -9 $a
done
/etc/init.d/httpd start