On Mon, 27 Jan 2003, Ben Williams wrote: > Monday, January 27, 2003, 12:32:29 PM, you wrote: > > >> >What is this kill -HUP inetd? > >> > >> kill -HUP pid is the standard command to reload a daemon in Unix. > GJ> Replacing > >> the 'pid' with the process id number of the daemon in question (listed > GJ> when > >> you do a 'ps aux') will force the daemon to reload it's configuration. > >> > GJ> My problem is that the ps aux doesn't lists the inetd daemon. So this > GJ> kill thing doesn't works as well..... > GJ> How can I check IMAP or POP3 is really listening? > > For IMAP: > sockstat | grep :143 > > For POP3: > sockstat | grep :110 > > For both/either: > sockstat | egrep ":143|:110"
Alternatively, if sockstat isn't available (like on another OS), then: # netstat -an Works on a lot of OS's (including windows). Nick Rogness <[EMAIL PROTECTED]> - How many people here have telekenetic powers? Raise my hand. -Emo Philips To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message