Re: stracing a connection

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Peter Koczan <pjkoczan(at)gmail(dot)com>
Cc: pgsql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: Re: stracing a connection
Date: 2007-08-01 18:05:52
Message-ID: 20070801180551.GI10324@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Peter Koczan escribió:
> Hi all,
>
> I'm running into a few problems with postgres connections, specifically
> notify/listening connections. What program(s) should I attach to the
> connection using gdb or strace in order to actually get some useful data?
>
> i.e. I'll be using something like "strace -p [pid] [command]", what should I
> use for [command]?

strace -p pid
gdb -p pid

You don't need to specify the command at all.

--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Milen A. Radev 2007-08-01 18:45:00 Re: Deadlock
Previous Message Carol Walter 2007-08-01 17:51:38 Re: Raw disk space used