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