Re: see all queries incoming - Mailing list pgsql-novice

From Kretschmer Andreas
Subject Re: see all queries incoming
Date
Msg-id 20050828142617.GC1709@kaufbach.delug.de
Whole thread Raw
In response to Re: see all queries incoming  (Flávio Brito <flavio@gral.org.br>)
List pgsql-novice
Flávio Brito <flavio@gral.org.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° ;-)

pgsql-novice by date:

Previous
From: Flávio Brito
Date:
Subject: Re: see all queries incoming
Next
From: Tom Lane
Date:
Subject: Re: query optimization