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

From Flávio Brito
Subject Re: see all queries incoming
Date
Msg-id 1125236748.18742.3.camel@localhost
Whole thread Raw
In response to Re: see all queries incoming  (Kretschmer Andreas <andreas_kretschmer@despammed.com>)
Responses Re: see all queries incoming
List 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@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





pgsql-novice by date:

Previous
From: Kretschmer Andreas
Date:
Subject: Re: see all queries incoming
Next
From: Kretschmer Andreas
Date:
Subject: Re: see all queries incoming