D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Uptime question

 

On Sun, 24 Jan 2010, Grant Sewell wrote:

Neil Stone wrote:


time since boot

-----

Ok, how about a computer that has beeb put into 'hibernation' (suspend to disc)? When it is woken up, does it 'boot' or merely 'resume' and what effect on uptime does this have?

It's the since boot - which is "wallclock" time. The uptime clock doesn't stop during sleep/hibernation. (It may actually be stopped internally because the CPU is stopped, but upon resume, if it's all configured correctly, it will reset the software clock to the hardware clock value and uptime will represent the time since boot)

Try it with a laptop - boot it, then suspend it (close the lid). Wait a few hours, resume it, and check the clock.

Gordon

--
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html