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