To find processes:
ps -ef |grep 'name of script'
to kill processes, use the command kill
so in a sort of one-liner:
ps -ef |egrep 'name_one|name_two' | awk ' { print $2 } ' | kill
Where name_one and name_two are the processe to kill. But watch out, name_one and name_two should be pointing only to the desired processes, all processes that contain name_one and name_two will be killed.
To be sure, test with the first part (up to the | awk part) to see if another process pops up.
If the normal kill doesn't do the trick, a kill -9 will .