How can i get information about postgres-process?
Started by Blashko Alexanderover 27 years ago2 messagesgeneral
Hi Everybody!
We develop university information system under Linux using
DBMS Postgres, Linux-clients (SWI-Prolog,C), MS-Windows-clients.
For analysis of running postgres-processes
we need get information: <user> <sql-query> <work time>.
How can we get it?
Thank you.
Re: [GENERAL] How can i get information about postgres-process?
Hi Everybody!
We develop university information system under Linux using
DBMS Postgres, Linux-clients (SWI-Prolog,C), MS-Windows-clients.For analysis of running postgres-processes
we need get information: <user> <sql-query> <work time>.
How can we get it?
On must platforms, the 'ps' command in 6.4 postgresql gives you current
user/database/query. You can also use -d flag on postgres/postmaster to
see the queries.
--
Bruce Momjian | http://www.op.net/~candle
maillist@candle.pha.pa.us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026