which process opens a TCP/IP port?
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix administration > which process opens a TCP/IP port?




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    which process opens a TCP/IP port?  
Jaguk Ku


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-23-04 09:53 PM

Hi there,

I would like to know which process opens TCP/IP port 10100. and who is the
owner of the process.

The machine is Sun E450, solaris 8.

when i execute command  netstat, the output is below

[dbm@dbm /user/dbm]$netstat -na | grep 10100
*.10100              *.*                0      0 24576      0 LISTEN
203.239.148.41.10100 203.239.148.41.65294 32768      0 32768      0
CLOSE_WAIT
203.239.148.41.10100 203.239.148.41.65341 32768      0 32714      0
CLOSE_WAIT
203.239.148.41.10100 203.239.148.41.65345 32768      0 32714      0
CLOSE_WAIT
[dbm@dbm /user/dbm]$

Thanks in advance

Jaguk Ku







[ Post a follow-up to this message ]



    Re: which process opens a TCP/IP port?  
Davide Bianchi


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-23-04 09:53 PM

Jaguk Ku <jkku@kynax.com> wrote:
quote:
> I would like to know which process opens TCP/IP port 10100. and who is the > owner of the process.
lsof will tell you. man lsof for more info Davide




[ Post a follow-up to this message ]



    Re: which process opens a TCP/IP port?  
Christoph Schuch


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-23-04 09:53 PM

**** Post for FREE via your newsreader at post.mcse.ms ****
quote:
> lsof will tell you. > man lsof for more info
if lsof is not installed you can use bash# list=`ps -e -o pid` ; for item in $list ; do pfiles $item | grep port | grep 10100 && echo $item ; done to get the pid of the process. Christoph -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= *** mcse.ms - The #1 Usenet Newsgroup Service on The Planet! *** http://www.mcse.ms Unlimited Download - 19 Seperate Servers - 90,000 groups - Uncensored -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=




[ Post a follow-up to this message ]



    Re: which process opens a TCP/IP port?  
Bill Marcum


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-23-04 09:53 PM

On Tue, 11 Nov 2003 14:20:12 +0900, Jaguk Ku
<jkku@kynax.com> wrote:
quote:
> Hi there, > > I would like to know which process opens TCP/IP port 10100. and who is the > owner of the process. > > The machine is Sun E450, solaris 8. > > when i execute command netstat, the output is below > > [dbm@dbm /user/dbm]$netstat -na | grep 10100 > *.10100 *.* 0 0 24576 0 LISTEN > 203.239.148.41.10100 203.239.148.41.65294 32768 0 32768 0 > CLOSE_WAIT > 203.239.148.41.10100 203.239.148.41.65341 32768 0 32714 0 > CLOSE_WAIT > 203.239.148.41.10100 203.239.148.41.65345 32768 0 32714 0 > CLOSE_WAIT > [dbm@dbm /user/dbm]$ >
netstat -np -- You can go anywhere you want if you look serious and carry a clipboard.




[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 01:21 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register