Alternatively, you can use uptimed.
It's page is here:
http://cx.capsi.com/code-uptimed.html
Apparently it's in mdk8 contrib, too:
http://www.rpmfind.net/linux/RPM/mandrake//8.0/contrib/i586//uptimed-0.1.6-1mdk.i586.html
-pete
On Wed, 1 Aug 2001, Gregor Maier wrote:
>
> On 31-Jul-2001 Mads Rasmussen wrote:
> >
> >
> > I would like to log the uptime of our systems, just I cannot see into the
> > future to expect when a system crashes so an aproach that logs, like 1 time
> > per hour should do it.
> >
> > I guess you could run a crontab script that just cat's the uptime output into
> > /var/log/uptime
> >
> > This however will be overwritten when the system comes back up, so I thought
> > it would be better to log in two files a live one and a backup one.
> >
> > Like
> >
> > uptime > uptime.running
> > uptime > uptime
> >
> just use uptime >> uptime.log
> the double >> will append the the output to the uptime.log instead of
> overwriting the file.
>
> ----------------------------------
> E-Mail: Gregor Maier <[EMAIL PROTECTED]>
> Date: 01-Aug-2001
> Time: 09:12:27
> ----------------------------------
>