Re: [OT] 1500 days uptime.

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

 



On Thursday 24 November 2005 22:32, Norbert van Nobelen wrote:
> great uptime. I have 3 readhat boxes who are now more than 1 year up, but
> bizar enough reset the uptime (command uptime) back to zero and started
> counting over again.

Hi Norbert,

Yes, uptime 'wraps' at about 493 days or something.

use:

last -xf /var/run/utmp runlevel

to get last change to run level (run level at boot, presumably).  This was 
posted on LKML ages ago where I learnt to use it to get true 'uptime'.

Nick
-- 
"Person who say it cannot be done should not interrupt person doing it."
-Chinese Proverb
My quake2 project:
http://sourceforge.net/projects/quake2plus/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux