From: Markus Schaber <schabi@logix-tt.com>
To: Cosimo Streppone <cosimo@streppone.it>
Cc: pgsql-announce@postgresql.org, "\"\"DBD:\"@svr1.postgresql.org\"@logix-tt.com:Pg list" <dbdpg-general@gborg.postgresql.org>
Cc: pgsql-sql@postgresql.org
Subject: Re: [ANNOUNCE] pgtop, display PostgreSQL processes in `top' style
Date: Tue, 03 May 2005 00:09:56 +0200
Message-ID: <4276A534.7060607@logix-tt.com> (raw)
In-Reply-To: <42740256.4090200@streppone.it>
References: <42740256.4090200@streppone.it>
Hi, Cosimo,
Cosimo Streppone wrote:
> 1) is it possible to know Pg backend uptime with
> SQL queries? Or must I look at postmaster.pid file?
> or even something else?
In contrib, there's a function caled backend_pid() defined in
misc_utils.sql, it may be helpful for you.
markus
Attachments:
signature.asc (application/pgp-signature, 255B) download
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: schabi@logix-tt.com, cosimo@streppone.it, dbdpg-general@gborg.postgresql.org
Subject: Re: [ANNOUNCE] pgtop, display PostgreSQL processes in `top' style
In-Reply-To: <4276A534.7060607@logix-tt.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox