Re: How to find current running process

Поиск
Список
Период
Сортировка
От Tomeh, Husam
Тема Re: How to find current running process
Дата
Msg-id CB0FB369FF86E248A884BCC002562BCB010C0D99@pisgsna01sxch01.ana.firstamdata.com
обсуждение исходный текст
Ответ на How to find current running process  ("Shivaji S" <s.shivaji@rediffmail.com>)
Список 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
 


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

**********************************************************************
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
**********************************************************************

В списке pgsql-admin по дате отправления:

Предыдущее
От: "Shivaji S"
Дата:
Сообщение: How to find current running process
Следующее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: RFC - multi database/application user authentification