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