checking session status

From: s(dot)chava(at)wcom(dot)com (Srinivasa Rao Chava)
To: pgsql-admin(at)postgresql(dot)org
Subject: checking session status
Date: 2002-03-11 22:07:08
Message-ID: 66d229f1.0203111407.62ff5dff@posting.google.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi,
How to check the session status in postgresql.Say, I want to check who
is logged in to the database at the moment. In ,oracle , I use v$session view
which gives the users logged in to the database. But I don't know how
to do it postgresql. With ps -ef | grep postmaster* command , I can know
how many postgres processes are running. But How to know which process
belong to which database user account.
Thanks for any help
chava

Browse pgsql-admin by date

  From Date Subject
Next Message Adam Wyard 2002-03-11 23:34:42 Update 6.5 database files to 7.0
Previous Message Bruce Momjian 2002-03-11 21:57:36 Re: News server broken ?