[lug] Port usage

Scott A. Herod herod at interact-tv.com
Tue Dec 12 09:35:00 MST 2000


Giuliano Rescaldani wrote:
> 
> Hello,
>         simple question:
> 
> Should I see with netstat -a that a certain port, say 1234 is LISTENING:
> tcp        0      0 *:1234             *:*                  LISTEN
> 
> How can I determine which one is the process currently listening on that
> port?
> 
> Thanks and best regards.
> 
>         Giuliano

As people here pointed out to me, use "lsof -i".  You must be
root to see all of the processes.




More information about the LUG mailing list