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

Comments

Popular posts from this blog

Tips Jika Mobil Anda Habis Bensin LOL!

Setting open office u label tom & jerry