Kill many instances of a running process with one command

view story

http://unix.stackexchange.com – This is one of the questions that has troubled me often. Suppose I have thousand or more instances of any process(for e.g. say the process vi) running. How do I kill them all in one single shot/one line command/One command ? Any information provided will be appreciated ? (HowTos)