Re: Postmaster Uptime

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tim Knowles <tim(at)ametco(dot)co(dot)uk>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Postmaster Uptime
Date: 2002-09-24 14:47:43
Message-ID: 200209241447.g8OElhv26781@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Tim Knowles wrote:
>
> Hi All,
>
> Is their any way to find out the uptime of the postmaster via a SQL
> function?

No, not really. You can do a 'ps' on the postmaster pid and run that
somehow from pltcl.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Andy Kriger 2002-09-24 14:49:22 grant/revoke for alter/drop?
Previous Message Roland Roberts 2002-09-24 14:42:02 Re: OID order = INSERT order?