From: | "Tomeh, Husam" <htomeh(at)firstam(dot)com> |
---|---|
To: | "Shivaji S" <s(dot)shivaji(at)rediffmail(dot)com>, pgsql-admin(at)postgresql(dot)org |
Subject: | Re: How to find current running process |
Date: | 2006-05-04 18:19:06 |
Message-ID: | CB0FB369FF86E248A884BCC002562BCB010C0D99@pisgsna01sxch01.ana.firstamdata.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
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(at)postgresql(dot)org
[mailto:pgsql-admin-owner(at)postgresql(dot)org] On Behalf Of Shivaji S
Sent: Thursday, May 04, 2006 11:06 AM
To: pgsql-admin(at)postgresql(dot)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(at)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
**********************************************************************
From | Date | Subject | |
---|---|---|---|
Next Message | Jim C. Nasby | 2006-05-04 18:21:20 | Re: RFC - multi database/application user authentification |
Previous Message | Jim C. Nasby | 2006-05-04 18:13:03 | Re: Can we adjust postgres logging to also dump the bind variable data when an error occurs |