Re: How to determine date / time of last postmaster restart

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

 



adey wrote:
> Please let me know if there is a way to determine when the Postmaster
> was last restarted?

If you have configured your server log to contain timestamps, that is 
your best bet to look.  In any case, the server log will tell when the 
last shutdown was, so you can at least narrow down the time frame.  You 
can also use pg_controldata to check the time of last change to 
pg_control (which is changed when the server starts).

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/


[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