Re: How to enumerate/drop user sessions in windows

From: Howard Cole <howardnews(at)selestial(dot)com>
To: 'PgSql General' <pgsql-general(at)postgresql(dot)org>
Subject: Re: How to enumerate/drop user sessions in windows
Date: 2006-01-31 11:11:58
Message-ID: 43DF45FE.4060206@selestial.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Oliver Fürst wrote:

> As this is a bit hard to accomplish with Windows' own task manager,
> get SysInternals free Process Explorer from here
> http://www.sysinternals.com/Utilities/ProcessExplorer.html and after
> starting it, use Find -> Find Handle (CTRL + F) and search for
> "postgres:". This will give you a similar output like "ps aux|grep
> postgres:" on Linux.
>
> If you then select on of the shown processes it will select the right
> process in the main window, where you can right click and select "Kill
> process" (DEL).
>
Thanks Oliver,

I can see that this would probably work because I have used the
SysInternals' Process Explorer before.

It would be great if this could be done using the standard tools (psql
for example). I was hoping that such an command existed.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message James Harper 2006-01-31 11:23:54 libpq questions
Previous Message Oliver Fürst 2006-01-31 11:00:11 Re: How to enumerate/drop user sessions in windows