ref: f05b8af71e41c37d868986b5147879fc5a437dbe 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' }