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