Re: monitoring running queries? - Mailing list pgsql-general

From Brett W. McCoy
Subject Re: monitoring running queries?
Date
Msg-id Pine.LNX.4.30.0102081006390.24863-100000@chapelperilous.net
Whole thread Raw
In response to Re: monitoring running queries?  (Brice Ruth <brice@webprojkt.com>)
List pgsql-general
On Thu, 8 Feb 2001, Brice Ruth wrote:

> Its not working ... I looked at the admin docs and edited the pg_options
> file appropriately ... the following is what appears in /var/log/messages:
>
> postgres[23686]: read_pg_options: verbose=2,query=4,syslog=2
>
> But no queries ... I sent SIG_HUP to postmaster, even restarted
> postmaster.  The file /var/log/postgresql appears to be empty as well.

I don't know how you are starting postgreSQL, but I just have it redirect
everything to a log file under the postgres super user's directory:

nohup postmaster [options] >>server.log 2>&1 &

Make sure you don't use the -S option -- it detaches from the tty and you
will get no output!

-- Brett
                                     http://www.chapelperilous.net/~bmccoy/
---------------------------------------------------------------------------
Above all else -- sky.


pgsql-general by date:

Previous
From: "benoit.le-dizes@voila.fr"
Date:
Subject: .mips.rpm
Next
From: martin.chantler@convergys.com
Date:
Subject: Re: tuples too big