#!/bin/bash ps -eo pid,comm,%cpu | awk '$3 > 80 && $2 != "tmm.0" { print $1 }' | xargs -I {} kill -9 {}