Re: Anyway to know which users are connected to postgres?

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: "Peter E(dot) Chen" <pchen3(at)jhmi(dot)edu>
Cc: "Postgres (General)" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Anyway to know which users are connected to postgres?
Date: 2002-01-14 17:34:41
Message-ID: 200201141734.g0EHYgE02887@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Peter E. Chen wrote:
> Hey All,
>
> I'd like to know if there is anyway one can figure out who is currently
> connected to the database.

You can use ps to see args of connected users, or pg_monitor at:

http://gborg.postgresql.org/project/pgmonitor

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2002-01-14 18:02:31 Re: Anyway to know which users are connected to postgres?
Previous Message Paulo J. Matos 2002-01-14 17:28:54 User creation of DB