[lug] netstat?
Trever C. Trader
ttrader at treveronline.com
Fri Dec 8 16:55:35 MST 2000
Hey Scott-
try 'netstat -na |grep -i listen'
if you are unsure what a port is then you can 'grep -i XXX /etc/services'
where XXX is the port that you are inquiring about.
On Fri, 8 Dec 2000, Scott A. Herod wrote:
> Hello
>
> Is there a way to see what process is listening to which port?
> The netstat manpage suggests that there should be a -p flag but
> when I try that I get a message about -p being unknown. Alternately,
> what does /proc/###/fd mean when some of the descriptors are
> called "socket"?
>
> Basically, I want to see what is listening to some of the numeric
> ports that I see from netstat.
>
> Thanks,
>
> Scott
>
> _______________________________________________
> Web Page: http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
>
More information about the LUG
mailing list