X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id CF9093AC268 for ; Wed, 15 Dec 2004 09:58:19 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 16116-03 for ; Wed, 15 Dec 2004 09:58:09 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.202]) by svr1.postgresql.org (Postfix) with ESMTP id F41BB3AC2B6 for ; Wed, 15 Dec 2004 09:58:10 +0000 (GMT) Received: by rproxy.gmail.com with SMTP id a41so1233881rng for ; Wed, 15 Dec 2004 01:58:10 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=LkGuAs6X/33P1AhQ9vpd1Hx7V7NvA26L3H3cqw+hGmWuH4XNRlN65wdetxjYXX1g6AZaztL5WxHxn0cKaVYBN7mmyjiK4VGDNiy8KQlbgbcZZ4UJV95OIgfZgC+Rwkicli9Yt5dMoqP/lPKVi4sQSz8skXUyWSTS2AMImpM//Qs= Received: by 10.38.90.74 with SMTP id n74mr1734547rnb; Wed, 15 Dec 2004 01:58:10 -0800 (PST) Received: by 10.38.24.67 with HTTP; Wed, 15 Dec 2004 01:58:10 -0800 (PST) Message-ID: <156a90fe0412150158498f76e6@mail.gmail.com> Date: Wed, 15 Dec 2004 09:58:10 +0000 From: Reply-To: To: Pascal Tufenkji Subject: Re: Connections Cc: pgsql-admin@postgresql.org In-Reply-To: <020901c4dd37$d0363610$ef64a8c0@pascal> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <020901c4dd37$d0363610$ef64a8c0@pascal> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.202 tagged_above=0 required=5 tests=NO_REAL_NAME, RCVD_BY_IP X-Spam-Level: X-Archive-Number: 200412/137 X-Sequence-Number: 15723 On the bottom of this page)http://www.varlena.com/varlena/GeneralBits/Tidbits/), there is a script you can download called pgsession. On Wed, 8 Dec 2004 17:07:56 +0200, Pascal Tufenkji wrote: > Hi, > I'm using PostgreSQL 7.3.2 > Is there a way to know if there are users connecting to my database (either > via the web or telnet or whatever...) > I need that for in case I want to shut down the server, I want to know first > if there are users still connecting to the database before shutting it down. > Thanx in adance > Pascal