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