pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Vilson farias <vilson.farias@digitro.com.br>
Cc: pgsql-admin@postgresql.org
Subject: Re: info request : listing active connections
Date: Tue, 26 Mar 2002 09:36:37 -0500 (EST)
Message-ID: <200203261436.g2QEabn16465@candle.pha.pa.us> (raw)
In-Reply-To: <005c01c1d4cf$86bfa570$98a0a8c0@dgtac>

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



view thread (4+ messages)  latest in thread

Message-ID: <200203261436.g2QEabn16465@candle.pha.pa.us>
Permalink:  ../200203261436.g2QEabn16465@candle.pha.pa.us/
Also on:    postgresql.org/message-id/200203261436.g2QEabn16465@candle.pha.pa.us

 · 

reply

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: pgman@candle.pha.pa.us, vilson.farias@digitro.com.br
  Subject: Re: info request : listing active connections
  In-Reply-To: <200203261436.g2QEabn16465@candle.pha.pa.us>
  References: <005c01c1d4cf$86bfa570$98a0a8c0@dgtac> <200203261436.g2QEabn16465@candle.pha.pa.us>

* 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