Re: Viewing connections

Поиск
Список
Период
Сортировка
От Robert Treat
Тема Re: Viewing connections
Дата
Msg-id 1041546567.32015.19.camel@camel
обсуждение исходный текст
Ответ на Viewing connections  ("Campano, Troy" <Troy.Campano@LibertyMutual.com>)
Список pgsql-admin
On Thu, 2003-01-02 at 15:55, Campano, Troy wrote:
> Is there an easy way to see what connections are open in a PostgreSQL server?
> Any way to see if they are active?
>
> thank you!
>

ps -ax (or different flags if you like) will show open connections and
should have bits / pieces of the queries being run on those connections.
You can also do a select * from pg_stat_activity from psql to get a look
at the current queries.

Robert Treat



В списке pgsql-admin по дате отправления:

Предыдущее
От: "Campano, Troy"
Дата:
Сообщение: Viewing connections
Следующее
От: Robert Treat
Дата:
Сообщение: Re: max_fsm_pages Sanity Check