pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Chris Hoover <revoohc@gmail.com>
To: pgsql-admin@postgresql.org Admin <pgsql-admin@postgresql.org>
Subject: How to tell how long server has been up?
Date: Wed, 6 Jun 2007 17:07:23 -0400
Message-ID: <1d219a6f0706061407l12a6f4dcka1e4affcf0d04cba@mail.gmail.com> (raw)

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

view thread (3+ messages)  latest in thread

Message-ID: <1d219a6f0706061407l12a6f4dcka1e4affcf0d04cba@mail.gmail.com>
Permalink:  ../1d219a6f0706061407l12a6f4dcka1e4affcf0d04cba@mail.gmail.com/
Also on:    postgresql.org/message-id/1d219a6f0706061407l12a6f4dcka1e4affcf0d04cba@mail.gmail.com

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: revoohc@gmail.com
  Subject: Re: How to tell how long server has been up?
  In-Reply-To: <1d219a6f0706061407l12a6f4dcka1e4affcf0d04cba@mail.gmail.com>

* 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