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: How to get the PID associated with a Perl DBI dbh? From: kynnjo@xxxxxxxxx To: pgsql-general@xxxxxxxxxxxxxx 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. |