Re: stracing a connection

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux