From: Benjamin Krajmalnik <kraj@illumen.com>
To: Chris Hoover <revoohc@gmail.com>
To: pgsql-admin@postgresql.org
Subject: Re: How to tell how long server has been up?
Date: Wed, 6 Jun 2007 16:23:44 -0600
Message-ID: <F4E6A2751A2823418A21D4A160B6898807A53E@fletch.stackdump.local> (raw)
In-Reply-To: <1d219a6f0706061407l12a6f4dcka1e4affcf0d04cba@mail.gmail.com>
References: <1d219a6f0706061407l12a6f4dcka1e4affcf0d04cba@mail.gmail.com>
select pg_postmaster_start_time()
________________________________
From: pgsql-admin-owner@postgresql.org
[mailto:pgsql-admin-owner@postgresql.org] On Behalf Of Chris Hoover
Sent: Wednesday, June 06, 2007 3:07 PM
To: pgsql-admin@postgresql.org Admin
Subject: [ADMIN] How to tell how long server has been up?
Maybe I'm blind (wouldn't be the first time), but I can't see a
way to find out how long postgres has been running. Is there a way to
tell this from a query? I am working with some of the stat views and
would like to correlate them to how long the server has been running.
Thanks,
Chris
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: kraj@illumen.com, revoohc@gmail.com
Subject: Re: How to tell how long server has been up?
In-Reply-To: <F4E6A2751A2823418A21D4A160B6898807A53E@fletch.stackdump.local>
References: <1d219a6f0706061407l12a6f4dcka1e4affcf0d04cba@mail.gmail.com> <F4E6A2751A2823418A21D4A160B6898807A53E@fletch.stackdump.local>
* 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