X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 84730D1B19F for ; Sun, 27 Jun 2004 14:31:16 -0300 (ADT) 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 36674-05 for ; Sun, 27 Jun 2004 17:31:16 +0000 (GMT) Received: from smtp-out1.xs4all.nl (smtp-out1.xs4all.nl [194.109.24.11]) by svr1.postgresql.org (Postfix) with ESMTP id AA3E2D1B1BE for ; Sun, 27 Jun 2004 14:31:13 -0300 (ADT) Received: from uucp1.xs4all.nl (uucp1.xs4all.nl [194.109.21.51]) by smtp-out1.xs4all.nl (8.12.10/8.12.10) with ESMTP id i5RHV7xq007649; Sun, 27 Jun 2004 19:31:08 +0200 (CEST) Received: from uucp1.xs4all.nl (localhost [127.0.0.1]) by uucp1.xs4all.nl (8.12.9/8.12.9) with ESMTP id i5RHV6E7076205; Sun, 27 Jun 2004 19:31:07 +0200 (CEST) Received: from ramoth.UUCP (uucp@localhost) by uucp1.xs4all.nl (8.12.9/8.12.9/Submit) with UUCP id i5RHV56x076204; Sun, 27 Jun 2004 19:31:05 +0200 (CEST) Received: by ladystrange.bluehorizon.nl id m1BedP6-000gcbC (Debian Smail-3.2.0.115 2003-Jun-18 #2); Sun, 27 Jun 2004 19:25:20 +0200 (CEST) From: "P.A.M. van Dam " Date: Sun, 27 Jun 2004 19:25:20 +0200 To: Christopher Kings-Lynne Cc: Herv? Piedvache , pgsql-performance@postgresql.org Subject: Re: How can one see what queries are running withing a Message-ID: <20040627172520.GA3038@pmg.xs4all.nl> References: <1088192269.6490.3.camel@localhost> <200406252251.09228.footcow@noos.fr> <200406260927.12812.footcow@noos.fr> <40DD3AA8.3040708@familyhealth.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <40DD3AA8.3040708@familyhealth.com.au> User-Agent: Mutt/1.5.6i X-Virus-Scanned: by XS4ALL Virus Scanner X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200406/333 X-Sequence-Number: 7391 On Sat, Jun 26, 2004 at 04:58:16PM +0800, Christopher Kings-Lynne wrote: > > >>Let see in contrib/ the application pg_who ... you will see the process, > >>the queries, and the CPU ... ;o) > > Even easier: > > SELECT * FROM pg_stat_activity; > > As a superuser. Thanks! That works as needed! Best regards, Pascal > > Chris > > ---------------------------(end of broadcast)--------------------------- > TIP 5: Have you checked our extensive FAQ? > > http://www.postgresql.org/docs/faqs/FAQ.html