Received: from al-quds.murder.net ([61.5.60.83]) by postgresql.org (8.11.3/8.11.4) with ESMTP id f8R9PEh62341 for ; Thu, 27 Sep 2001 05:25:22 -0400 (EDT) (envelope-from bramsi@cakraweb.com) Received: from al-quds.murder.net (al-quds [192.168.0.24]) by al-quds.murder.net (Postfix) with SMTP id 7D68B2BFE9 for ; Thu, 27 Sep 2001 16:20:51 +0700 (JAVT) Date: Thu, 27 Sep 2001 16:20:51 +0700 From: Bramsi Prenata To: pgsql-admin@postgresql.org Subject: Re: Finding active connections to postmaster Message-Id: <20010927162051.4e0c596c.bramsi@cakraweb.com> In-Reply-To: <87adzh9h79.fsf@c0re.rc23.cx> References: <87adzh9h79.fsf@c0re.rc23.cx> X-Mailer: Sylpheed version 0.6.2 (GTK+ 1.2.10; i586-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archive-Number: 200109/120 X-Sequence-Number: 2221 On 27 Sep 2001 10:22:02 +0200 drt@un.bewaff.net (Doobee R. Tzeck) wrote: > > I want to list which users are conected to postmaster and what > they are doing. I guess I have overseen something but I wasn't > able to find any information on doing this in the handbook, FAQ > or mailinglist archives. > > Is it possible to list active connectons? How? to list active connection, you can try this command in shell prompt [bramsi@al-quds bramsi]$ ps ax | grep postgres | grep -v grep | grep -v psql | awk -F " " {'print $7'} postgres but i'm sorry, i do not know what they are doing rigth now. Hope can help you. Best regards, Bramsi Prenata