How can we execute the freeBSD commands from PHP.
I want to know how to find the PID of a particular process using PHP and to kill that process
Any one please help me..........
Executing freeBSD commands
Moderator: General Moderators
The following script would kill all the programs owned by a certain user... Shouldn't be too hard to tweak it to your needs 
http://timvw.madoka.be/programming/bash/killuser.txt
http://timvw.madoka.be/programming/bash/killuser.txt