ref: a75f4de5c9f1782b3a7e0a9648e24b360031a0d5 dir: /rc/bin/stop/
#!/bin/rc U=`{cat /dev/user} ps | sed -n '/^'$U' .* '$1'$/s%[^ ]* *%~>/proc/% s% *.*%/ctl% s%~%echo stop%p'