Unix Technical Forum

Re: View running Processes ?

This is a discussion on Re: View running Processes ? within the pgsql Novice forums, part of the PostgreSQL category; --> Hi Arnaud, The pg_stat_activity system exists for your need. Documentation on how and what to access: http://www.postgresql.org/docs/curre...onitoring.html (note that ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Novice

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-17-2008, 10:39 PM
Guido Barosio
 
Posts: n/a
Default Re: View running Processes ?

Hi Arnaud,

The pg_stat_activity system exists for your need.

Documentation on how and what to access:

http://www.postgresql.org/docs/curre...onitoring.html

(note that you will have to browse the chapter to get the details)

You will have to setup your postgresql.conf file, and enable the
stats_command_string (boolean) param.

Regards






On 2/24/06, Arnaud Lesauvage <thewild@free.fr> wrote:
>
> Hi List !
>
> Is there an equivalent of mysql's "SHOW PROCESSLIST" command in
> PostgreS ?
> Sometimes my server takes a lot of processing power, and I would
> like to know what it is doing.
>
> Also, is there no way to kill a running query from *within*
> postgres ? With a query, or something similar ?
> The only way I found to kill running queries was to "kill <pid>"
> from a command prompt, but that is not very clean, I can't run
> this from a remote client.
>
> Thanks a lot !
>
> Regards
> --
> Arnaud
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Have you searched our list archives?
>
> http://archives.postgresql.org
>




--
/"\ ASCII Ribbon Campaign .
\ / - NO HTML/RTF in e-mail .
X - NO Word docs in e-mail .
/ \ -----------------------------------------------------------------

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 04:24 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com