| 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 |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| 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° ;-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2005-08-28 21:19:48 | Re: query optimization |
| Previous Message | Flávio Brito | 2005-08-28 13:45:48 | Re: see all queries incoming |