Subject: Re: time of shutdown / power-loss
To: Petar Bogdanovic <p+netbsd@2005.smokva.net>
From: Martin Husemann <martin@duskware.de>
List: netbsd-users
Date: 11/30/2005 11:07:35
On Wed, Nov 30, 2005 at 10:58:19AM +0100, Petar Bogdanovic wrote:
> which is the most elegant way to get the time of the last 
> system-shutdown / power loss?

Dunno about power loss (except "uptime" if you haven't rebootet since then),
but you can easily get shutdown and reboot times from last(1), e.g.

  last -1 shutdown


Martin