Re: Postmaster Uptime - Mailing list pgsql-general

From Robert Treat
Subject Re: Postmaster Uptime
Date
Msg-id 1032898457.737.69.camel@camel
Whole thread Raw
In response to Re: Postmaster Uptime  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: Postmaster Uptime
List pgsql-general
Could we store this as an environment variable that gets set once
postmaster leaves "start up" mode?

Robert Treat

On Tue, 2002-09-24 at 10:47, Bruce Momjian wrote:
> 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@candle.pha.pa.us               |  (610) 359-1001
>   +  If your life is a hard drive,     |  13 Roberts Road
>   +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org



pgsql-general by date:

Previous
From: Thomas Beutin
Date:
Subject: Re: rotatelog / logrotate with PostgreSQL
Next
From: "scott.marlowe"
Date:
Subject: Re: rotatelog / logrotate with PostgreSQL