pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedViewing connections
2+ messages / 2 participants
[nested] [flat]
* Viewing connections
@ 2003-01-02 20:55 Campano, Troy <Troy.Campano@LibertyMutual.com>
0 siblings, 1 reply; 2+ messages in thread
From: Campano, Troy @ 2003-01-02 20:55 UTC (permalink / raw)
To: pgsql-admin
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!
~ Troy Campano ~
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Viewing connections
@ 2003-01-02 22:29 Robert Treat <xzilla@users.sourceforge.net>
parent: Campano, Troy <Troy.Campano@LibertyMutual.com>
0 siblings, 0 replies; 2+ messages in thread
From: Robert Treat @ 2003-01-02 22:29 UTC (permalink / raw)
To: Campano, Troy <Troy.Campano@LibertyMutual.com>; +Cc: 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
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2003-01-02 22:29 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-01-02 20:55 Viewing connections Campano, Troy <Troy.Campano@LibertyMutual.com>
2003-01-02 22:29 ` Robert Treat <xzilla@users.sourceforge.net>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox