Re: How to get the PID associated with a Perl DBI dbh? - Mailing list pgsql-general

From Martin Gainty
Subject Re: How to get the PID associated with a Perl DBI dbh?
Date
Msg-id BLU142-W295AE1578B9A7B7A36B83FAE9F0@phx.gbl
Whole thread Raw
In response to How to get the PID associated with a Perl DBI dbh?  (Kynn Jones <kynnjo@gmail.com>)
Responses Re: How to get the PID associated with a Perl DBI dbh?
List pgsql-general
pg clients communicate on 5432 so a simple search on 5432 will yield the pid e.g.
netstat -aon | grep 5432

Martin
______________________________________________
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission.





Date: Thu, 12 Mar 2009 09:59:56 -0400
Subject: [GENERAL] How to get the PID associated with a Perl DBI dbh?
From: kynnjo@gmail.com
To: pgsql-general@postgresql.org

Is there a reliable way to find out the (Unix) PID associated with a database handle generated by Perl DBI's database connection?

TIA!

Kynn



Windows Live™ Groups: Create an online spot for your favorite groups to meet. Check it out.

pgsql-general by date:

Previous
From: Joshua Tolley
Date:
Subject: Re: How to get the PID associated with a Perl DBI dbh?
Next
From: "A. Kretschmer"
Date:
Subject: Re: How to get the PID associated with a Perl DBI dbh?