Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-admin by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group