lkml.org 
[lkml]   [1997]   [Jan]   [16]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
FromBob Lanning <>
SubjectRe: Port-Numbers
DateWed, 15 Jan 1997 23:58:17 -0800 (PST)
---- 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 12:38    [W:0.774 / U:0.020 seconds]
©2003-2008 Jasper Spaans