On Thu, 31 Aug 2000, Tom Lane wrote:

> Actually I think netstat only shows open connections, not processes
> listening for connections.  Does anyone know a (reasonably portable)
> way of seeing which port numbers are being accept()ed on?
> 
>                       regards, tom lane


how about lsof, at:

ftp://cc.vic.purdue.edu/   

omni:rwp> lsof -i | grep post
postgres  14054 postgres    3u  inet 0x64b0f900      0t0   TCP *:5432 
(LISTEN)


Bob Parkinson
[EMAIL PROTECTED]
------------------------------------------------------------------
Technical Manager:              Biome          http://biome.ac.uk/

Greenfield Medical Library,
Queens Medical Centre,
Nottingham.                                   0115 9249924 x 42059
------------------------------------------------------------------
                        We are stardust

Reply via email to