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, Cem Kayali <cemkayali%eticaret.com.tr@localhost>:
>
>  Merhaba Zafer!
>
>  Why not you check /var/log/messages and search for "restart" word?
>
>  "Apr 22 10:00:00 localhost syslogd: restart"
>
>
>  Regards,
>  Cem
>

Merhaba Cem,

because I don't need the time the machine has rebooted, but the uptime
at that moment.
Also, the restart argument in syslogd is used when the log turns over
or syslogd is restarted.

Thanks, Zafer.



>
>
>  Zafer Aydogan wrote:
>
> > Hello list,
> >
> >  how can I find out, how long a system has been up, after a reboot  ?
> >
> >  Thanks, Zafer.
> >
> >
> >
>
>


Home | Main Index | Thread Index | Old Index