way1. ps aux| grep xxx | grep -v grep | awk '{print $2}' | xargs kill -9 way2. pgrep xxx | xargs kill -9 way3. pkill xxx