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 2374D539D1 for ; Sun, 27 Mar 2005 07:54:05 +0100 (BST) 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 33952-03 for ; Sun, 27 Mar 2005 06:54:03 +0000 (GMT) Received: from tigger.fuhr.org (tigger.fuhr.org [63.214.45.158]) by svr1.postgresql.org (Postfix) with ESMTP id 36E5E539CA for ; Sun, 27 Mar 2005 07:54:02 +0100 (BST) Received: from winnie.fuhr.org (winnie.fuhr.org [10.1.0.1]) by tigger.fuhr.org (8.13.3/8.13.3) with ESMTP id j2R6qirP038104 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 26 Mar 2005 23:52:46 -0700 (MST) (envelope-from mfuhr@winnie.fuhr.org) Received: from winnie.fuhr.org (localhost [127.0.0.1]) by winnie.fuhr.org (8.13.3/8.13.3) with ESMTP id j2R6qhse045991; Sat, 26 Mar 2005 23:52:43 -0700 (MST) (envelope-from mfuhr@winnie.fuhr.org) Received: (from mfuhr@localhost) by winnie.fuhr.org (8.13.3/8.13.3/Submit) id j2R6qhVr045990; Sat, 26 Mar 2005 23:52:43 -0700 (MST) (envelope-from mfuhr) Date: Sat, 26 Mar 2005 23:52:43 -0700 From: Michael Fuhr To: Lucas Itamar Cc: pgsql-admin@postgresql.org Subject: Re: Question about trace session Message-ID: <20050327065243.GA45898@winnie.fuhr.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.004 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200503/441 X-Sequence-Number: 16939 On Mon, Mar 21, 2005 at 05:34:19PM +0000, Lucas Itamar wrote: > My name is Lucas and I would like to know if somebody knows how to trace > (or kill) the sessions in PostgreSql. Someway to see the connected users, > his IPs, machines, etc. See the "Monitoring Database Activity" chapter in the PostgreSQL documentation. You don't say what version you're running; here's a link to the documentation for the latest release: http://www.postgresql.org/docs/8.0/interactive/monitoring.html -- Michael Fuhr http://www.fuhr.org/~mfuhr/