pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Shivaji S <s.shivaji@rediffmail.com>
To: Tomeh,Husam <htomeh@firstam.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: How to find current running process
Date: 4 May 2006 20:21:17 -0000
Message-ID: <20060504202117.32050.qmail@webmail46.rediffmail.com> (raw)

tom thanks for the input ,but the below queries doesn't support for my postgres version 7.1.1 it shows the error 

ERROR:  Function 'pg_postmaster_start_time()' does not exist
Unable to identify a function that satisfies the given argument types
You may need to add explicit typecasts

Regards,
Shivaji

On Thu, 04 May 2006 Tomeh,Husam wrote :
>You may use the pg_stat_activity view to find out what's running on the
>database, ie. select * from pg_stat_activity ;
>You may also use the pg_postmaster_start_time() function to find out
>postmaster startup time, ie. select pg_postmaster_start_time() ;
>
>----
>
>     Husam
>     http://firstdba.googlepages.com
>
>
>________________________________
>
> From: pgsql-admin-owner@postgresql.org
>[mailto:pgsql-admin-owner@postgresql.org] On Behalf Of Shivaji S
>Sent: Thursday, May 04, 2006 11:06 AM
>To: pgsql-admin@postgresql.org
>Subject: [ADMIN] How to find current running process
>
>
>
>
>Hi,
>
>
>Is there any command to find current running threads/queries on
>postgres.
>
>and how to find the uptime of my database.Please guide me
>
>Regards,
>Shivaji
>
>
>
>
><http://adworks.rediff.com/cgi-bin/AdWorks/sigclick.cgi/www.rediff.com/s
>ignature-home.htm/1507191490@Middle5?PARTNER=3>
>
>**********************************************************************
>This message contains confidential information intended only for the use of the addressee(s) named above and may contain information that is legally privileged.  If you are not the addressee, or the person responsible for delivering it to the addressee, you are hereby notified that reading, disseminating, distributing or copying this message is strictly prohibited.  If you have received this message by mistake, please immediately notify us by replying to the message and delete the original message immediately thereafter.
>
>Thank you.
>
>                                    FADLD Tag
>**********************************************************************


view thread (6+ messages)  latest in thread

Message-ID: <20060504202117.32050.qmail@webmail46.rediffmail.com>
Permalink:  ../20060504202117.32050.qmail@webmail46.rediffmail.com/
Also on:    postgresql.org/message-id/20060504202117.32050.qmail@webmail46.rediffmail.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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: s.shivaji@rediffmail.com, htomeh@firstam.com
  Subject: Re: How to find current running process
  In-Reply-To: <20060504202117.32050.qmail@webmail46.rediffmail.com>
  References: <20060504202117.32050.qmail@webmail46.rediffmail.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