ports & process

ports & process

Post by Pat Nola » Tue, 22 Jun 1999 04:00:00



How can I check what processes are running on a particular tcp/ip port?

--
Pat Nolan
Operations Analyst
Dataware Technologies
518-437-4095

 
 
 

ports & process

Post by Vic Abe » Tue, 22 Jun 1999 04:00:00



>How can I check what processes are running on a particular tcp/ip port?

Try lsof:

        ftp://vic.cc.purdue.edu/pub/tools/unix/lsof

 
 
 

1. Port & Processes

Hi everyone,
if i want know the process associated to a port.?
Example
For every telnet session i've an associated port (see below)
But what is the process id associated with that port?

# netstat -a | grep telnet
tcp4       0      2  aveds4002.telnet       10.107.185.4.1764      
ESTABLISHED
tcp4       0      0  aveds4002.telnet       10.107.185.4.1763      
ESTABLISHED
tcp4       0      0  aveds4002.telnet       10.107.185.4.1744      
ESTABLISHED
tcp4       0      0  aveds4002.telnet       10.107.185.42.1050    
ESTABLISHED
tcp        0      0  *.telnet               *.*                    LISTEN

thank everyone very much
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

--
Posted from [170.253.38.1] by way of f62.law4.hotmail.com [216.33.149.62]
via Mailgate.ORG Server - http://www.Mailgate.ORG

2. The Case of Mistaken Identity: "I didn't DO IT"

3. ports & processes

4. UNIX Sockets

5. processes & network ports

6. AppleTalk not up!

7. BUG in wu-ftpd 2.4 makes ftphosts processing break on BSDI (& other 4.4 ports?)

8. Laptops, PCMCIA and Firewall revisited

9. Finding & killing process holding tcp port

10. &&&&----Looking for a unix shell------&&&&&

11. ppp && PPPoE && ADSL && net && buffer(s)

12. 没有人用中文吗?

13. Telnet on port 23 spawns other telnet process on different port?