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
----------------------------------