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