Re: Number of Active Connections

From: Gaetano Mendola <mendola(at)bigfoot(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Number of Active Connections
Date: 2004-09-13 19:41:39
Message-ID: ci4t5o$si6$1@floppy.pyrenet.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

MaRCeLO PeReiRA wrote:

> Hi guys,
>
> How can I know about the number of active
> connections?? (not the maximum allowed, but the number
> of open connections).
>

If you have enough permission:

select count(*) from pg_stat_activity;

Regards
Gaetano Mendola

In response to

Browse pgsql-general by date

  From Date Subject
Next Message MaRCeLO PeReiRA 2004-09-13 19:51:13 Re: Number of Active Connections
Previous Message elein 2004-09-13 19:30:24 Re: Number of Active Connections