ref: fc55d674565f65401a9fc89c90a3769d7c8cb4ae dir: /rc/bin/stop/
#!/bin/rc ~ $#* 0 || ps | sed -n '/^'$user' .* '$1'$/s%[^ ]* *%~>/proc/% s% *.*%/ctl% s%~%echo stop%p'