X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 8C24ED1B8D4 for ; Mon, 18 Aug 2003 11:39:55 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 87739-01 for ; Mon, 18 Aug 2003 08:39:47 -0300 (ADT) Received: from water.oasis.net.au (water.oasis.net.au [210.8.139.2]) by svr1.postgresql.org (Postfix) with ESMTP id 48A0CD1BBBE for ; Mon, 18 Aug 2003 08:39:43 -0300 (ADT) Received: from oasis.net.au (localhost [127.0.0.1]) by water.oasis.net.au (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id WAA10338; Mon, 18 Aug 2003 22:05:15 +1000 X-Authentication-Warning: water.oasis.net.au: Host localhost [127.0.0.1] claimed to be oasis.net.au From: "Rudi Starcevic" To: "Ramil Sagum" , Subject: Re: get current queries Date: Mon, 18 Aug 2003 22:05:15 +1000 Message-Id: <20030818120515.M77941@oasis.net.au> In-Reply-To: References: X-Mailer: Open WebMail X-OriginatingIP: 211.26.70.155 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200308/197 X-Sequence-Number: 9918 > is there any way to see what statements/queries are currently being passed > on to the database? Yes - I haven't got around to installing it yet but 'pgmonitor' over at http://gborg.postgresql.org/project/pgmonitor/projdisplay.php sounds like what your after. Here's the overview: "This is a Tcl/Tk script that displays current database connections, and allows you to view the currently executing query, cancel the query, or terminate the session. You can also start/stop the postmaster." I believe it requires X on your database server. I haven't got X on my database server so I have used it yet but it looks really cool. For you other Admin's do you have X on your servers ? Cheers Rudi.