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: kyn...@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. http://windowslive.com/online/groups?ocid=TXT_TAGLM_WL_groups_032009