[NMLUG] SuSE fast internet protection question.

mike dillon nmlug@swcp.com
Thu, 29 Nov 2001 09:33:29 -0800


begin Robbins, Wesley L quotation:
> Is there a way to see what program is listening to a port?

As root:

# netstat -tlp

(-t=--tcp, -l=--listening, -p=--programs)

You could also have a look at a program called lsof:

# lsof -i

-md
------------------------------------------------------
To UNSUBSCRIBE send a message to nmlug-request@swcp.com
with only the word unsubscribe in the body.  More
information can be found at www.nmlug.org/info.html
-----------------------------------------------------