Cpanel Hosting

Friday, 15 February 2013

Enable killwhom command at Linux server


Enable killwhom command at Linux server

If killwhom command is not added in your server.then do below steps :

pico  /bin/killwhom

add following code.
---

ps -auxf|grep $1|awk '{print "kill -9 " $2}'

---
Save the File
chmod 700 /bin/killwhom

and run the command    :)

No comments: