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