ref: f508dfaab17c0ec9519078db82c9d5b5f1ba76a5 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'