LISTENING THE PORT

Started by Fábio Santanaover 24 years ago2 messageshackers
Jump to latest
#1Fábio Santana
fabio3c@terra.com.br

Hello my friends! Sorry for my english!

I need to do a application that listen the port of Postgresql and return all commands actually in process in Postgresql. Like a monitor. I think that to do it i need to do a socket (sniffer) and understand the structure for Postgresql protocol. Somebody can help me?

#2Bruce Momjian
bruce@momjian.us
In reply to: Fábio Santana (#1)
Re: LISTENING THE PORT

Hello my friends! Sorry for my english!

I need to do a application that listen the port of Postgresql
and return all commands actually in process in Postgresql. Like
a monitor. I think that to do it i need to do a socket (sniffer)
and understand the structure for Postgresql protocol. Somebody
can help me?

Have you tried pgmonitor at gborg.postgresql.org?

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026