Skip site navigation (1) Skip section navigation (2)

Re: pgsql: On win32, there is currently no way to get

From: Jan Wieck <JanWieck(at)Yahoo(dot)com>
To: Bruce Momjian <momjian(at)svr1(dot)postgresql(dot)org>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: On win32, there is currently no way to get
Date: 2004-12-03 15:03:33
Message-ID: 41B08045.7060708@Yahoo.com (view raw or flat)
Thread:
Lists: pgsql-committers
On 12/2/2004 5:28 PM, Bruce Momjian wrote:
> Log Message:
> -----------
> On win32, there is currently no way to get the equivalent function of
> the "ps" argument list on Unix - meaning that there is no way to
> identify for example the stats processors or the bgwriter.

doesn't tlist.exe work for that?


Jan

> 
> This patch adds this functionality, in a bit of a crufty way. It creates
> a kernel Event object with the name of what would be in the title. This
> can be viewed using for example Process Explorer.
> 
> It's been very handy for me during both debugging and using. I haven't
> figured a better way, but perhaps someone has one that's less crufty? If
> not, here is at least a working patch :-)
> 
> Magnus Hagander
> 
> Modified Files:
> --------------
>     pgsql/src/backend/utils/misc:
>         ps_status.c (r1.21 -> r1.22)
>         (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/misc/ps_status.c.diff?r1=1.21&r2=1.22)
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
> 
>                http://archives.postgresql.org


-- 
#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me.                                  #
#================================================== JanWieck(at)Yahoo(dot)com #

In response to

pgsql-committers by date

Next:From: Dave PageDate: 2004-12-03 15:36:38
Subject: Re: pgsql: On win32, there is currently no way to get
Previous:From: User DiogobDate: 2004-12-03 12:30:03
Subject: press - pr:

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group