Re: How to get the PID associated with a Perl DBI dbh?

From: Martin Gainty <mgainty(at)hotmail(dot)com>
To: <kynnjo(at)gmail(dot)com>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: How to get the PID associated with a Perl DBI dbh?
Date: 2009-03-12 14:36:52
Message-ID: BLU142-W295AE1578B9A7B7A36B83FAE9F0@phx.gbl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)gmail(dot)com
To: pgsql-general(at)postgresql(dot)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.
http://windowslive.com/online/groups?ocid=TXT_TAGLM_WL_groups_032009

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message A. Kretschmer 2009-03-12 14:55:32 Re: How to get the PID associated with a Perl DBI dbh?
Previous Message Joshua Tolley 2009-03-12 14:27:13 Re: How to get the PID associated with a Perl DBI dbh?