From: Rich Cullingford <rculling@sysd.com>
To: pgsql-admin@postgresql.org
Subject: Associating client PIDs with backend PIDs
Date: Mon, 24 Nov 2003 11:55:07 -0500
Message-ID: <3FC237EB.3050302@sysd.com> (raw)
All,
This is a pretty obvious question, but I can't find an answer in the
standard docs/archive: if I have an installation in which there are a
number of long-running client processes interacting (one-on-one) with
backend processes, how do I find the associations? I can see the client
PIDs in an appropriate 'ps' (grepping on the client program name, for
example), and the backend PIDs in the standard queries or pgmonitor. But
I can't tell which goes with which (except by trying to infer the
association by looking at the query that's running -- assuming I can
catch it).
Thanks for any help,
Rich Cullingford
rculling@sysd.com
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: rculling@sysd.com
Subject: Re: Associating client PIDs with backend PIDs
In-Reply-To: <3FC237EB.3050302@sysd.com>
References: <3FC237EB.3050302@sysd.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox