service and network comando

Charles Swiger cswiger at mac.com
Tue Feb 1 14:21:43 PST 2005


On Feb 1, 2005, at 5:14 PM, Gert Cuykens wrote:
> one more list to add in my collection : )
>
> ps how do you start stop the sshd daemon ?

Carefully, at least if you are doing so remotely rather than on the 
console:

kill `cat /var/run/sshd.pid`

> and how do you specify all network daemons from the  ps aux list ?

Look at the processes without a terminal (TT field == "??").

-- 
-Chuck



More information about the freebsd-questions mailing list