Re: stracing a connection - Mailing list pgsql-admin

From Alvaro Herrera
Subject Re: stracing a connection
Date
Msg-id 20070801180551.GI10324@alvh.no-ip.org
Whole thread Raw
In response to stracing a connection  ("Peter Koczan" <pjkoczan@gmail.com>)
Responses Re: stracing a connection
List 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.

pgsql-admin by date:

Previous
From: Carol Walter
Date:
Subject: Re: Raw disk space used
Next
From: "Milen A. Radev"
Date:
Subject: Re: Deadlock