Re: [PERFORM] How can one see what queries are running withing a

2004-06-30 Thread P.A.M. van Dam
On Sat, Jun 26, 2004 at 04:58:16PM +0800, Christopher Kings-Lynne wrote: > > >>Let see in contrib/ the application pg_who ... you will see the process, > >>the queries, and the CPU ... ;o) > > Even easier: > > SELECT * FROM pg_stat_activity; > > As a superuser. Thanks! That works as needed!

Re: [PERFORM] How can one see what queries are running withing a

2004-06-30 Thread Roger Ging
P.A.M. van Dam wrote: Hi! I'd like to know if there is a way to see what queries are running within a certain postgres instance and how much resources (cpu/memory) etc. they are using. Right now it's impossible to see what is happening within postgres when it's binaries are using 100% CPU. In Syba

Re: [PERFORM] How can one see what queries are running withing a

2004-06-26 Thread Tom Lane
Christopher Kings-Lynne <[EMAIL PROTECTED]> writes: > Even easier: > SELECT * FROM pg_stat_activity; But note you must enable stats_command_string to make this very useful. regards, tom lane ---(end of broadcast)--- TIP 9: t

Re: [PERFORM] How can one see what queries are running withing a

2004-06-26 Thread Christopher Kings-Lynne
Let see in contrib/ the application pg_who ... you will see the process, the queries, and the CPU ... ;o) Even easier: SELECT * FROM pg_stat_activity; As a superuser. Chris ---(end of broadcast)--- TIP 5: Have you checked our extensive FAQ?

Re: [PERFORM] How can one see what queries are running withing a postgres instance?

2004-06-26 Thread Hervé Piedvache
Sorry It's not in the contrib folder of PostgreSQL ... but you will find it on gborg.postgresql.org ! Regards, Le vendredi 25 Juin 2004 22:51, Hervé Piedvache a écrit : > Let see in contrib/ the application pg_who ... you will see the process, > the queries, and the CPU ... ;o) > > Regards, > >

Re: [PERFORM] How can one see what queries are running withing a postgres instance?

2004-06-25 Thread Hervé Piedvache
Let see in contrib/ the application pg_who ... you will see the process, the queries, and the CPU ... ;o) Regards, Le vendredi 25 Juin 2004 21:37, P.A.M. van Dam a écrit : > Hi! > > I'd like to know if there is a way to see what queries are running > within a certain postgres instance and how mu

[PERFORM] How can one see what queries are running withing a postgres instance?

2004-06-25 Thread P.A.M. van Dam
Hi! I'd like to know if there is a way to see what queries are running within a certain postgres instance and how much resources (cpu/memory) etc. they are using. Right now it's impossible to see what is happening within postgres when it's binaries are using 100% CPU. In Sybase there is a comman