| From: | Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us> |
|---|---|
| To: | black(at)lins(dot)ospu(dot)odessa(dot)ua (Blashko Alexander) |
| Cc: | pgsql-general(at)postgreSQL(dot)org |
| Subject: | Re: [GENERAL] How can i get information about postgres-process? |
| Date: | 1998-12-11 16:20:35 |
| Message-ID: | 199812111620.LAA12386@candle.pha.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
> 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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Constantine Manoussakis | 1998-12-11 16:38:46 | Date format |
| Previous Message | D'Arcy J.M. Cain | 1998-12-11 12:34:58 | Announce: PyGreSQL 2.2 |