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