Re: number of connections to postmaster

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Percy" <percy_yip(at)yahoo(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: number of connections to postmaster
Date: 2002-02-22 00:35:26
Message-ID: 12179.1014338126@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Percy" <percy_yip(at)yahoo(dot)com> writes:
> Is there any way to find out the number of connections to postmaster?

In 7.2, "select count(*) from pg_stat_activity" should do it. See
http://www.ca.postgresql.org/users-lounge/docs/7.2/postgres/monitoring.html

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Rich Shepard 2002-02-22 00:53:56 Re: data mining or statistical analysis with postgresql
Previous Message Medi Montaseri 2002-02-22 00:29:40 Re: Protection of intellectual property (Schema & SQL code)