Re: see all queries incoming

From: Flávio Brito <flavio(at)gral(dot)org(dot)br>
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: see all queries incoming
Date: 2005-08-28 13:45:48
Message-ID: 1125236748.18742.3.camel@localhost
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

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

[flavio(at)localhost flavio]$ watch "echo \"SELECT * FROM pg_stat_activity;
\" | psql -U postgres template1
>
>

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

Thanks

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Kretschmer Andreas 2005-08-28 14:26:17 Re: see all queries incoming
Previous Message Kretschmer Andreas 2005-08-28 13:35:31 Re: see all queries incoming