| От | Onyx |
|---|---|
| Тема | Connections to DB |
| Дата | |
| Msg-id | 20051027172128.AB5B6A48D2@mail.frii.com обсуждение |
| Ответы |
Re: Connections to DB
|
| Список | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера