Paul Caton <[EMAIL PROTECTED]> hat geschrieben:

> Gary,
> 
> You can see a list of assigned ports in /etc/services. If you want to
> check that a port not listed there is in use or not, use the command:
> 
> netstat -an | grep [number]
> 
> If you get no result, the port is not in use.

Better yet: If on Linux or Solaris: Become root and do

  lsof -i tcp:808

This gives you the process id of the process using the port.
You can then use ps to find out more about it or kill it right away.
If you are not root you will only be told about processes you own.

Olaf


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to