ref: 1fe150f1ed46a8c1a65187b3088274e067493639 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'