pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: P.A.M. van Dam <pam@ramoth.xs4all.nl>
To: Christopher Kings-Lynne <chriskl@familyhealth.com.au>
Cc: Herv? Piedvache <footcow@noos.fr>
Cc: pgsql-performance@postgresql.org
Subject: Re: How can one see what queries are running withing a
Date: Sun, 27 Jun 2004 19:25:20 +0200
Message-ID: <20040627172520.GA3038@pmg.xs4all.nl> (raw)
In-Reply-To: <40DD3AA8.3040708@familyhealth.com.au>
References: <1088192269.6490.3.camel@localhost>
	<200406252251.09228.footcow@noos.fr>
	<200406260927.12812.footcow@noos.fr>
	<40DD3AA8.3040708@familyhealth.com.au>

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



view thread (7+ messages)

Message-ID: <20040627172520.GA3038@pmg.xs4all.nl>
Permalink:  ../20040627172520.GA3038@pmg.xs4all.nl/
Also on:    postgresql.org/message-id/20040627172520.GA3038@pmg.xs4all.nl

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: pam@ramoth.xs4all.nl, chriskl@familyhealth.com.au, footcow@noos.fr
  Subject: Re: How can one see what queries are running withing a
  In-Reply-To: <20040627172520.GA3038@pmg.xs4all.nl>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox