Linux/PidProcessKill
Find broken process, on vm having 3k <defunct> processes
# Try to find the offending PID by checking /proc one by one (safer) for pid in /proc/[0-9]*; do pid=${pid#/proc/} timeout 1 cat /proc/$pid/cmdline >/dev/null 2>&1 || echo "Problematic PID: $pid" done | head -n 20