Connections to DB

Поиск
Список
Период
Сортировка
От Onyx
Тема Connections to DB
Дата
Msg-id 20051027172128.AB5B6A48D2@mail.frii.com
обсуждение исходный текст
Ответы Re: Connections to DB  ("Jim C. Nasby" <jnasby@pervasive.com>)
Список pgsql-general

How can I view the current, persistent connections to a database?  Is there a way to do this with 'psql' or with some other PostgreSQL bundled tool/utility (~pgsql_directory/bin), instead of resorting to the underlying operating system commands (ie: netstat -a | grep postgres)?

I am interested in finding out the following: 1) How many connections are there to the database? 2) How long have they persisted?  3)  What is the idle time of the connections?

Any help would be appreciated.  Thanks!

- Onyx
---
Onyx Mueller
Software Engineer
i-cubed : information integration & imaging LLC
201 Linden Street : Third Floor
Fort Collins, CO  80524
970-482-4400 voice
970-482-4499 fax
www.i3.com
 

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

Предыдущее
От: "Andrus"
Дата:
Сообщение: Re: alt+F not working after calling pg_dump
Следующее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: Connections to DB