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