Re: Commands to browse current connections and processes

Поиск
Список
Период
Сортировка
От Mark Gibson
Тема Re: Commands to browse current connections and processes
Дата
Msg-id c4365539f13874dfccd5c87da00c750341640ac4@cromwell.co.uk
обсуждение исходный текст
Ответ на Commands to browse current connections and processes  (Ying Lu <ying_lu@cs.concordia.ca>)
Список pgsql-general
Ying Lu wrote:
> Hello,
>
> In mysql, we use "show processlist" to see all current process. Could
> someone let me know in PostgreSQL, what commands that we can check the
> current connections and processes please?

SELECT * FROM pg_catalog.pg_stat_activity;

--
Mark Gibson <gibsonm |AT| cromwell |DOT| co |DOT| uk>
Web Developer & Database Admin
Cromwell Tools Ltd.
Leicester, England.

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

Предыдущее
От: Mike Nolan
Дата:
Сообщение: Re: two digit years in inserts
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Cache lookup failed for relation, when trying to DROP TABLE.