Thread: LISTENING THE PORT

LISTENING THE PORT

From
Fábio Santana
Date:
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?

Re: LISTENING THE PORT

From
Bruce Momjian
Date:
> 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,
Pennsylvania19026