ref: b2e29cf3158d6e8c6a0263cb1bbb06e72a21f7fb dir: /rc/bin/Kill/
#!/bin/rc for(i){ ps | sed -n '/ '^$i^'$/s%^[^ ]* *([^ ]*).*%chmod 666 /proc/\1/ctl;@{echo kill>/proc/\1/ctl}%p' }