if you are 100ure your process will have a unique name, you can use something like: ps aux |grep $PROCESSNAME |awk '{print $2}' |xargs kill -9 which will kill all instances of $PROCESSNAME On Thu, 3 Sep 1998, Q.G. Lewis wrote:
Can anyone tell me how I can kill a process without using its pid. I would like to use something a little more fixed to that particular process. PID's change everytime a process is started and I am going to be using automated scripts to kill certain processes.
_________________________________________________________ DO YOU YAHOO!? Get your free @yahoo.com address at <A HREF="http://mail.yahoo.com"><A HREF="http://mail.yahoo.com</A">http://mail.yahoo.com</A</A>>
- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e