Re: How to list what queries are running in postgres?

From: Gaetano Mendola <mendola(at)bigfoot(dot)com>
To: "P(dot)A(dot)M(dot) van Dam" <pam(at)ramoth(dot)xs4all(dot)nl>
Subject: Re: How to list what queries are running in postgres?
Date: 2004-06-29 21:19:09
Message-ID: 40E1DCCD.5060907@bigfoot.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

P.A.M. van Dam wrote:

> Hi!
>
> I'm looking for a command or method to find out what queries are
> currently being serviced by the database.

select * from pg_stat_activity;

Regards
Gaetano Mendola

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Gaetano Mendola 2004-06-29 21:28:36 Re: Capacity Planning
Previous Message Tuttle, Gene 2004-06-29 20:52:37 PL/pgsql