NetBSD-Users archive

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

Re: uptime, where art thou ?



2008/4/22, Geert Hendrickx <ghen%telenet.be@localhost>:
> On Tue, Apr 22, 2008 at 10:54:05AM +0200, Zafer Aydogan wrote:
>  > I think it would be quite handy, if "last" would log the uptime, before a
>  > reboot takes place.
>  >
>  > I've seen this on Linux.
>  >
>  > Quote from the man page:
>  > "  The pseudo user reboot logs in each time the  system  is  rebooted.   
> Thus
>  >        last reboot will show a log of all reboots since the log file
>  > was created."
>  >
>  > it looks like this:
>  >
>  > reboot   system boot  2.6.11.4-20a-smp Fri Dec 22 16:44         (158+00:14)
>  >
>  > Here you see the uptime was 158 days +
>  >
>  > What do you think about it ?
>
>
>
>
> Anything that has to be triggered by the reboot command will not work in
>  case of a crash...
>
>
>         Geert
>
>
>
I think that's ok. At least the uptime on regular reboots would be tracked.

zafer.


Home | Main Index | Thread Index | Old Index