Re: identifying local connections - Mailing list pgsql-general

From Tom Lane
Subject Re: identifying local connections
Date
Msg-id 15409.1289838258@sss.pgh.pa.us
Whole thread Raw
In response to Re: identifying local connections  (Scott Ribe <scott_ribe@elevated-dev.com>)
Responses Re: identifying local connections  (Scott Ribe <scott_ribe@elevated-dev.com>)
List pgsql-general
Scott Ribe <scott_ribe@elevated-dev.com> writes:
> On Nov 15, 2010, at 8:50 AM, Tom Lane wrote:
>> netstat will probably work for this, depending on what platform you're on.

> OS X. I can see the connections, but I don't see an option to display PIDs.

In that case see lsof --- you can match up the ends of the connection
using the hex value in the "device" column.

            regards, tom lane

pgsql-general by date:

Previous
From: Steve Clark
Date:
Subject: Re: identifying local connections
Next
From: Scott Ribe
Date:
Subject: Re: identifying local connections