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

win32 ps info

From: "Magnus Hagander" <mha(at)sollentuna(dot)net>
To: "PostgreSQL Patches" <pgsql-patches(at)postgresql(dot)org>
Subject: win32 ps info
Date: 2004-11-11 21:07:53
Message-ID: 6BCB9D8A16AC4241919521715F4D8BCE476127@algol.sollentuna.se (view raw or flat)
Thread:
Lists: pgsql-patches
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.

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



Attachment: win32ps.patch
Description: application/octet-stream (2.0 KB)

Responses

pgsql-patches by date

Next:From: David FetterDate: 2004-11-11 22:26:38
Subject: Re: multiline CSV fields
Previous:From: Greg StarkDate: 2004-11-11 20:38:16
Subject: Re: multiline CSV fields

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