Re: Postmaster Uptime

From: Lee Kindness <lkindness(at)csl(dot)co(dot)uk>
To: "Tim Knowles" <tim(at)ametco(dot)co(dot)uk>
Cc: Lee Kindness <lkindness(at)csl(dot)co(dot)uk>, pgsql-general(at)postgresql(dot)org
Subject: Re: Postmaster Uptime
Date: 2002-09-25 09:39:02
Message-ID: 15761.33846.87637.786443@kelvin.csl.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Lee Kindness writes:
> As others have said it is certainly do-able, but you're going to have
> to do it! In the past you've got the uptime using ps - what you need
> to do is wrap this into a script and add it to a database as a
> function (using pg/tcl, pg/perlu, whatever). Or you could do it as a C
> function...

Actually pl/sh would be the obvious choice:

http://www.ca.postgresql.org/~petere/plsh.html

Lee.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tim Knowles 2002-09-25 09:53:17 Re: Postmaster Uptime
Previous Message Lee Kindness 2002-09-25 09:36:12 Re: Postmaster Uptime