Subject: Re: time of shutdown / power-loss
To: Petar Bogdanovic <p+netbsd@2005.smokva.net>
From: Malcolm Herbert <mjch@mjch.net>
List: netbsd-users
Date: 11/30/2005 21:40:25
On Wed, Nov 30, 2005 at 11:13:20AM +0100, Stefan 'Kaishakunin' Schumacher wrote:
|Also sprach Petar Bogdanovic (p+netbsd@2005.smokva.net)
|> which is the most elegant way to get the time of the last
|> system-shutdown / power loss?
|
|You can use logger(1) to writes sth. to syslog. I have a simple
|heartbeat shellskript on my servers that is started from /etc/rc.local:
I do something similar with df output ...
--
Malcolm Herbert This brain intentionally
mjch@mjch.net left blank