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

Re: see all queries incoming

From: Kretschmer Andreas <andreas_kretschmer(at)despammed(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: see all queries incoming
Date: 2005-08-28 14:26:17
Message-ID: 20050828142617.GC1709@kaufbach.delug.de (view raw or flat)
Thread:
Lists: pgsql-novice
Flávio Brito <flavio(at)gral(dot)org(dot)br> schrieb:

> Em Dom, 2005-08-28 às 14:37 +0200, Kretschmer Andreas escreveu:
> 
>     watch "echo \"SELECT * FROM pg_stat_activity;\" | psql -U <user> <db>
> 
> 
> After I did it I receive a prompt like this

Mmh.


> Can you help me more? Exist another way to run this query inside of psql
> without using "watch"?

Yes, of course, 'SELECT * FROM pg_stat_activity;'.
This is a snapshot for this moment.

Regards, Andreas
-- 
Diese Message wurde erstellt mit freundlicher Unterstützung eines freilau-
fenden Pinguins aus artgerechter Freilandhaltung.   Er ist garantiert frei
von Micro$oft'schen Viren. (#97922 http://counter.li.org)     GPG 7F4584DA
Was, Sie wissen nicht, wo Kaufbach ist? Hier: N 51.05082°, E 13.56889° ;-)

In response to

pgsql-novice by date

Next:From: Tom LaneDate: 2005-08-28 21:19:48
Subject: Re: query optimization
Previous:From: Flávio BritoDate: 2005-08-28 13:45:48
Subject: Re: see all queries incoming

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