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?







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?
Sat, 3 Nov 2001 11:23:17 -0300
=?iso-8859-1?Q?F=E1bio_Santana?= <fabio3c@terra.com.br>
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

Sat, 3 Nov 2001 11:22:21 -0500 (EST)
Bruce Momjian <pgman@candle.pha.pa.us>
Re: LISTENING THE PORT