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

From: "Jeffrey W(dot) Baker" <jwbaker(at)acm(dot)org>
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 18:08:31
Message-ID: Pine.LNX.4.33.0201141008160.1967-100000@windmill.gghcwest.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


On Mon, 14 Jan 2002, 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.

On Linux at least, the output of 'ps' shows the user, the database they
are connected to, and the host they are connected from.

-jwb

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2002-01-14 18:08:54 Re: Index problem
Previous Message Bruce Momjian 2002-01-14 18:06:24 Re: gborg