If you want to kill a process by name then use pkill command in Linux and this will search process by instance name and kill it. Be careful when using it.