pkill
From NetBSD Wiki
pkill(1) - find or signal process by name
This command is similar to kill, only it allows using process names instead of PIDs.
By default it sends the TERM signal to any matched processes.
% pkill top
Different signals may be specified with -SIGNAL
% pkill -9 top
