Re: How to tell how long server has been up?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



select pg_postmaster_start_time()
 


From: pgsql-admin-owner@xxxxxxxxxxxxxx [mailto:pgsql-admin-owner@xxxxxxxxxxxxxx] On Behalf Of Chris Hoover
Sent: Wednesday, June 06, 2007 3:07 PM
To: pgsql-admin@xxxxxxxxxxxxxx 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

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux