pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adarsh Sharma <adarsh.sharma@orkash.com>
To: Reinhard Asmus <reinhard.asmus@spdfraktion.de>
Cc: pgsql-admin@postgresql.org
Subject: Re: Connections to the Database
Date: Fri, 17 Feb 2012 13:59:35 +0530
Message-ID: <4F3E0FEF.10308@orkash.com> (raw)
In-Reply-To: <4F3D02C8.7080903@spdfraktion.de>
References: <4F3D02C8.7080903@spdfraktion.de>

Issue the below command :-

select * from pg_stat_activity


& check the results.



Reinhard Asmus wrote:
> I install a new database and want to check which connections will be 
> used.
>
> How can i see which application from which host is connecting the 
> database?
>
> Any help is appreciated.
>
>




view thread (5+ messages)  latest in thread

Message-ID: <4F3E0FEF.10308@orkash.com>
Permalink:  ../4F3E0FEF.10308@orkash.com/
Also on:    postgresql.org/message-id/4F3E0FEF.10308@orkash.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: adarsh.sharma@orkash.com, reinhard.asmus@spdfraktion.de
  Subject: Re: Connections to the Database
  In-Reply-To: <4F3E0FEF.10308@orkash.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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