Re: Postmaster Uptime

Поиск
Список
Период
Сортировка
От Robert Treat
Тема Re: Postmaster Uptime
Дата
Msg-id 1032898457.737.69.camel@camel
обсуждение исходный текст
Ответ на Re: Postmaster Uptime  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: Postmaster Uptime  (Neil Conway <neilc@samurai.com>)
Список 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 по дате отправления:

Предыдущее
От: Thomas Beutin
Дата:
Сообщение: Re: rotatelog / logrotate with PostgreSQL
Следующее
От: "scott.marlowe"
Дата:
Сообщение: Re: rotatelog / logrotate with PostgreSQL