From: Vilson farias <vilson.farias@digitro.com.br>
To: pgsql-admin@postgresql.org
Cc: JAIRO Gubler <jairo.gubler@digitro.com.br>
Subject: Re: info request : listing active connections
Date: Tue, 26 Mar 2002 11:44:26 -0300
Message-ID: <006a01c1d4d4$bb072f10$98a0a8c0@dgtac> (raw)
References: <200203261436.g2QEabn16465@candle.pha.pa.us>
Hi Bruce,
Thanks for quick answer. It's a great feature for newer releases for
PostgreSQL, but here I'm still using 7.1.2 (and few 7.0.3), so is there some
way in older versions?
Best regards.
----- Original Message -----
From: "Bruce Momjian" <pgman@candle.pha.pa.us>
To: "Vilson farias" <vilson.farias@digitro.com.br>
Cc: <pgsql-admin@postgresql.org>
Sent: Tuesday, March 26, 2002 11:36 AM
Subject: Re: [ADMIN] info request : listing active connections
> Vilson farias wrote:
> > Greetings,
> >
> > I've been looking for a way to list active connections from
> > clients to the postmaster. What kind of features does postgresql
> > has to make it possible? I would like to list users, ips and
> > maybe calling application and plataform. Now, the only way I
> > know is through ps -ef | grep post. Is there some system table
> > where I can find information about active connections?
>
> 7.2 has pg_stat_activity table that shows connections and queries.
>
> --
> Bruce Momjian | http://candle.pha.pa.us
> pgman@candle.pha.pa.us | (610) 853-3000
> + If your life is a hard drive, | 830 Blythe Avenue
> + Christ can be your backup. | Drexel Hill, Pennsylvania 19026
>
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: vilson.farias@digitro.com.br, jairo.gubler@digitro.com.br
Subject: Re: info request : listing active connections
In-Reply-To: <006a01c1d4d4$bb072f10$98a0a8c0@dgtac>
References: <200203261436.g2QEabn16465@candle.pha.pa.us> <006a01c1d4d4$bb072f10$98a0a8c0@dgtac>
* 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