Re: see all queries incoming

Поиск
Список
Период
Сортировка
От Flávio Brito
Тема Re: see all queries incoming
Дата
Msg-id 1125236748.18742.3.camel@localhost
обсуждение исходный текст
Ответ на Re: see all queries incoming  (Kretschmer Andreas <andreas_kretschmer@despammed.com>)
Ответы Re: see all queries incoming  (Kretschmer Andreas <andreas_kretschmer@despammed.com>)
Список 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 по дате отправления:

Предыдущее
От: Kretschmer Andreas
Дата:
Сообщение: Re: see all queries incoming
Следующее
От: Kretschmer Andreas
Дата:
Сообщение: Re: see all queries incoming