I was wondering how
uptime is calculated.
Is it simply the difference between now and boot time? More specifically-- If I were to boot up, run for 5 minutes, and put the machine to sleep for a year; Upon resuming, would my
uptime show 5 minutes, or 1 year and 5 minutes?
I find the verbiage in the man page a little vague on this point:
uptime - Tell how long the system has been running.