lkml.org 
[lkml]   [1997]   [Jan]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Port-Numbers
Date
---- As written by mab@hamburg.GermanLloyd.de:
>
> Hi *,
>
> I know this is a little bit offtopic, but I don't have anyone else to ask!
>
> How can I get the PID of a process waiting for a connection on a
> specific port-number? I can see with 'netstat -a' that there is
> _someone_ sitting on it, but I can not see _who_!
>
> Thanks for any help!
>
> Martin
> -----------------------------------------------------------------------------
> Martin Bauer <mab@hamburg.germanlloyd.de>
>
> Germanischer Lloyd AG, Vorsetzen 32, 20456 Hamburg, Germany
> phone/fax: +49-40-36149-564/721
> -----------------------------------------------------------------------------

Look for the pident source. It contains a utility that it's kernel interface.
This utility will list all open connections and their owners.

--
Robert Hajime Lanning "It's the FROSTING!"
The opinions expressed here are not mine, nor are they anyone else's.
lanning@tidbit.fhda.edu <--for fun && for profit--> lanning@navtech.com

\
 
 \ /
  Last update: 2005-03-22 13:38    [W:0.048 / U:0.380 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site