I’ve written Process Killer class two years ago, today I need it to solve a very urgent issue on my server and just noticed that there is a bug to process command names. Simple change, now if the command you want to kill have spaces you can use simple quotes for example :
php pkill.php ‘/usr/bin/php script.php’
Now I have to back working on server, I’ve made something stupid that make CPU usage jump to 70%.
Download PHP Process Killer