ref: 99e2d549e86cbdf4c364a476b8eb008c8fcff6ec 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'