pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
info request : listing active connections
4+ messages / 2 participants
[nested] [flat]

* info request : listing active connections
@ 2002-03-26 14:07 Vilson farias <vilson.farias@digitro.com.br>
  2002-03-26 14:36 ` Re: info request : listing active connections Bruce Momjian <pgman@candle.pha.pa.us>
  0 siblings, 1 reply; 4+ messages in thread

From: Vilson farias @ 2002-03-26 14:07 UTC (permalink / raw)
  To: pgsql-admin

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?

Best regards.

--------------------------------------------------------------------------------
José Vilson de Mello de Farias
Software Engineer

Dígitro Tecnologia Ltda - www.digitro.com.br
APC - Customer Oriented Applications
E-mail: vilson.farias@digitro.com.br
Tel.: +55 48 281 7158 
ICQ 11866179

^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: info request : listing active connections
  2002-03-26 14:07 info request : listing active connections Vilson farias <vilson.farias@digitro.com.br>
@ 2002-03-26 14:36 ` Bruce Momjian <pgman@candle.pha.pa.us>
  2002-03-26 14:44   ` Re: info request : listing active connections Vilson farias <vilson.farias@digitro.com.br>
  0 siblings, 1 reply; 4+ messages in thread

From: Bruce Momjian @ 2002-03-26 14:36 UTC (permalink / raw)
  To: Vilson farias <vilson.farias@digitro.com.br>; +Cc: pgsql-admin

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



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: info request : listing active connections
  2002-03-26 14:07 info request : listing active connections Vilson farias <vilson.farias@digitro.com.br>
  2002-03-26 14:36 ` Re: info request : listing active connections Bruce Momjian <pgman@candle.pha.pa.us>
@ 2002-03-26 14:44   ` Vilson farias <vilson.farias@digitro.com.br>
  2002-03-26 18:18     ` Re: info request : listing active connections Bruce Momjian <pgman@candle.pha.pa.us>
  0 siblings, 1 reply; 4+ messages in thread

From: Vilson farias @ 2002-03-26 14:44 UTC (permalink / raw)
  To: pgsql-admin; +Cc: JAIRO Gubler <jairo.gubler@digitro.com.br>

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
>




^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: info request : listing active connections
  2002-03-26 14:07 info request : listing active connections Vilson farias <vilson.farias@digitro.com.br>
  2002-03-26 14:36 ` Re: info request : listing active connections Bruce Momjian <pgman@candle.pha.pa.us>
  2002-03-26 14:44   ` Re: info request : listing active connections Vilson farias <vilson.farias@digitro.com.br>
@ 2002-03-26 18:18     ` Bruce Momjian <pgman@candle.pha.pa.us>
  0 siblings, 0 replies; 4+ messages in thread

From: Bruce Momjian @ 2002-03-26 18:18 UTC (permalink / raw)
  To: Vilson farias <vilson.farias@digitro.com.br>; +Cc: pgsql-admin@postgresql.org, JAIRO Gubler <jairo.gubler@digitro.com.br>

Vilson farias wrote:
> 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?
> 

No, just ps.

-- 
  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



^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2002-03-26 18:18 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-03-26 14:07 info request : listing active connections Vilson farias <vilson.farias@digitro.com.br>
2002-03-26 14:36 ` Bruce Momjian <pgman@candle.pha.pa.us>
2002-03-26 14:44   ` Vilson farias <vilson.farias@digitro.com.br>
2002-03-26 18:18     ` Bruce Momjian <pgman@candle.pha.pa.us>

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