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