Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Getting time of last reboot on Linux
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Stefan Monnier  
View profile  
 More options Jan 9 2012, 9:18 am
Newsgroups: comp.os.linux.development.system, comp.unix.programmer
From: Stefan Monnier <monn...@iro.umontreal.ca>
Date: Mon, 09 Jan 2012 09:18:28 -0500
Local: Mon, Jan 9 2012 9:18 am
Subject: Re: Getting time of last reboot on Linux

> I would expect that it would be near 100% on systems where there
> is no real-time-clock kept alive when the system is powered off,
> and the system has to resort to a mod time on the root superblock
> from shutdown.  Scheduled shutdowns (systems not expected to run
> anywhere close to 24/7 for power-saving, security, noise, or other
> reasons) or shutdowns for hardware reconfiguration are likely to
> take more than 10 minutes.  I'll assume that the system is robust
> enough not to have a lot of panic/immediate reboot cycles.

FWIW, it *is* 100% on many/most home routers I know, since they don't
have any RTC, and they don't try to do anything fancy with the root
superblock (they try to touch the flash as rarely as possible) nor do
they even shutdown usually (they're just power cycled instead).

        Stefan


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.