GNU ps is your friend

Created: 21 Jul 2006

Mair, assuming the executables you are trying to kill are called librescue and you’re using GNU ps, you might want to try this:

 ps -C librescue -o pid= | xargs kill