It it's the ONLY script running under perl, how about "killall /usr/bin/perl"? I have a python script that sometimes starts 50 threads and this technique works like a champ on it. In fact, if others on the system are running their own python scripts it leaves them alone since I'm not running as root so it only kills my processes.
On the other hand if you have to, you could do something like this to get the process pid and then kill it
Quote:
ps aux | grep xxx | grep -v grep | awk '{print $2}'
|
-mark