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

From: "A(dot) Kretschmer" <andreas(dot)kretschmer(at)schollglas(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: How to get the PID associated with a Perl DBI dbh?
Date: 2009-03-12 14:55:32
Message-ID: 20090312145532.GF31303@a-kretschmer.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

In response to Martin Gainty :
> pg clients communicate on 5432 so a simple search on 5432 will yield the pid
> e.g.
> netstat -aon | grep 5432

Thats no useful:

- you can't do that from the client (across the network)
- you can't see which pid has a particular client

Regards, Andreas
--
Andreas Kretschmer
Kontakt: Heynitz: 035242/47150, D1: 0160/7141639 (mehr: -> Header)
GnuPG-ID: 0x3FFF606C, privat 0x7F4584DA http://wwwkeys.de.pgp.net

In response to

Browse pgsql-general by date

  From Date Subject
Next Message James B. Byrne 2009-03-12 15:32:59 nulls
Previous Message Martin Gainty 2009-03-12 14:36:52 Re: How to get the PID associated with a Perl DBI dbh?