Received: from jupiter.hub.org (jupiter.hub.org [64.49.215.5]) by postgresql.org (Postfix) with ESMTP id 8128D475ADB for ; Mon, 11 Mar 2002 17:35:41 -0500 (EST) Received: (from news@localhost) by jupiter.hub.org (8.11.6/8.11.6) id g2BM7gh58420 for pgsql-admin@postgresql.org; Mon, 11 Mar 2002 16:07:42 -0600 (CST) (envelope-from news) From: s.chava@wcom.com (Srinivasa Rao Chava) X-Newsgroups: comp.databases.postgresql.admin Subject: checking session status Date: 11 Mar 2002 14:07:08 -0800 Organization: http://groups.google.com/ Lines: 9 Message-ID: <66d229f1.0203111407.62ff5dff@posting.google.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: groups-abuse@google.com To: pgsql-admin@postgresql.org X-Archive-Number: 200203/140 X-Sequence-Number: 3674 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