ps -ef | grep defunct ps -A -o stat,ppid,pid,cmd | grep -e '[1]' | awk '{print $2}' | xargs kill -9
Zz ↩︎