Archive: kill two processes with the same name


kill two processes with the same name
I have tried to use killproc to kill all processes with a name. Inevitably, it kills only one of them with that name. How can I make it kill them all? Especially if the program that is doing the killing is also one being killed.


Could you paste some sample code?

Cheers

Bruno