ref: c9b48aec544db0ce8a2a1a75b557c44669804e82 dir: /rc/bin/broke/
#!/bin/rc rfork e if(~ $#* 1){ user=$1 } ps | sed -n '/^'$user' .* Broken/s%[^ ]* *%~>/proc/% s% *.* (.*)%/ctl # \1% s%~%echo kill%p'