Re: Viewing connections - Mailing list pgsql-admin

From Robert Treat
Subject Re: Viewing connections
Date
Msg-id 1041546567.32015.19.camel@camel
Whole thread Raw
In response to Viewing connections  ("Campano, Troy" <Troy.Campano@LibertyMutual.com>)
List pgsql-admin
On Thu, 2003-01-02 at 15:55, Campano, Troy wrote:
> Is there an easy way to see what connections are open in a PostgreSQL server?
> Any way to see if they are active?
>
> thank you!
>

ps -ax (or different flags if you like) will show open connections and
should have bits / pieces of the queries being run on those connections.
You can also do a select * from pg_stat_activity from psql to get a look
at the current queries.

Robert Treat



pgsql-admin by date:

Previous
From: "Campano, Troy"
Date:
Subject: Viewing connections
Next
From: Robert Treat
Date:
Subject: Re: max_fsm_pages Sanity Check