Re: Finding active connections to postmaster

Поиск
Список
Период
Сортировка
От Bramsi Prenata
Тема Re: Finding active connections to postmaster
Дата
Msg-id 20010927162051.4e0c596c.bramsi@cakraweb.com
обсуждение исходный текст
Ответ на Finding active connections to postmaster  (drt@un.bewaff.net (Doobee R. Tzeck))
Список pgsql-admin
On 27 Sep 2001 10:22:02 +0200
drt@un.bewaff.net (Doobee R. Tzeck) wrote:

>
> I want to list which users are conected to postmaster and what
> they are doing. I guess I have overseen something but I wasn't
> able to find any information on doing this in the handbook, FAQ
> or mailinglist archives.
>
> Is it possible to list active connectons? How?

to list active connection, you can try this command in shell prompt

[bramsi@al-quds bramsi]$ ps ax | grep postgres | grep -v grep | grep -v psql | awk -F " " {'print $7'}
postgres

but i'm sorry, i do not know what they are doing rigth now.

Hope can help you.

Best regards,
Bramsi Prenata


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

Предыдущее
От: "Rainer Mager"
Дата:
Сообщение: turning on debug without restarting postgres
Следующее
От: "Martins Zarins"
Дата:
Сообщение: Re: Finding active connections to postmaster