Re: Error with tcp/ip networking

From: Bob Parkinson <rwp(at)biome(dot)ac(dot)uk>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Travis Bauer <trbauer(at)cs(dot)indiana(dot)edu>, pgsql-general(at)postgresql(dot)org
Subject: Re: Error with tcp/ip networking
Date: 2000-08-31 14:45:50
Message-ID: Pine.OSF.4.21.0008311542050.10675-100000@omni.ac.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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
rwp(at)biome(dot)ac(dot)uk
------------------------------------------------------------------
Technical Manager: Biome http://biome.ac.uk/

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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Joel Burton 2000-08-31 14:46:03 Re: Error installing ODBC in NT
Previous Message Jules Bean 2000-08-31 14:40:42 Re: Error with tcp/ip networking