From: Bramsi Prenata <bramsi@cakraweb.com>
To: pgsql-admin@postgresql.org
Subject: Re: Finding active connections to postmaster
Date: Thu, 27 Sep 2001 16:20:51 +0700
Message-ID: <20010927162051.4e0c596c.bramsi@cakraweb.com> (raw)
In-Reply-To: <87adzh9h79.fsf@c0re.rc23.cx>
References: <87adzh9h79.fsf@c0re.rc23.cx>
On 27 Sep 2001 10:22:02 +0200
drt@un.bewaff.net (Doobee R. Tzeck) wrote:
>
> I want to list which users are conected to postmaster and what
> they are doing. I guess I have overseen something but I wasn't
> able to find any information on doing this in the handbook, FAQ
> or mailinglist archives.
>
> Is it possible to list active connectons? How?
to list active connection, you can try this command in shell prompt
[bramsi@al-quds bramsi]$ ps ax | grep postgres | grep -v grep | grep -v psql | awk -F " " {'print $7'}
postgres
but i'm sorry, i do not know what they are doing rigth now.
Hope can help you.
Best regards,
Bramsi Prenata
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: bramsi@cakraweb.com
Subject: Re: Finding active connections to postmaster
In-Reply-To: <20010927162051.4e0c596c.bramsi@cakraweb.com>
References: <87adzh9h79.fsf@c0re.rc23.cx> <20010927162051.4e0c596c.bramsi@cakraweb.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