Nov 12, 2009
Kill all same name spawn process in one go
Syntax :
ps -aef | grep -v grep | grep PROC_NAME | awk {'print $2'} | xargs kill -9
E.g :
ps -aef | grep -v grep | grep test.pl | awk {'print $2'} | xargs kill -9
C, C++, Unix, Linux, Perl, PHP, MySql, Postgres and Oracle.