pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: s.chava@wcom.com
To: pgsql-admin@postgresql.org
Subject: checking session status
Date: 11 Mar 2002 14:07:08 -0800
Message-ID: <66d229f1.0203111407.62ff5dff@posting.google.com> (raw)

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



Message-ID: <66d229f1.0203111407.62ff5dff@posting.google.com>
Permalink:  ../66d229f1.0203111407.62ff5dff@posting.google.com/
Also on:    postgresql.org/message-id/66d229f1.0203111407.62ff5dff@posting.google.com

 · 

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: s.chava@wcom.com
  Subject: Re: checking session status
  In-Reply-To: <66d229f1.0203111407.62ff5dff@posting.google.com>
  References: <66d229f1.0203111407.62ff5dff@posting.google.com>

* 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