kill -9 $(ps axu | grep '[p]uma' | awk '{print $2}')

※grepの引数を’[p]uma’にすることでgrepのプロセスを表示させない

Find and kill a process in one line using bash and regex - Stack Overflow