Timekeeping [Was: Re: cvs commit: src/usr.bin/vmstat vmstat.c src/usr.bin/w w.c]

Poul-Henning Kamp phk at phk.freebsd.dk
Fri Oct 21 10:10:10 PDT 2005


In message <435913FE.774C683D at freebsd.org>, Andre Oppermann writes:

>> Again, if you have been sitting in DDB, what exactly is the definition
>> of "uptime" ?
>
>IMO it's this:
>
> Uptime is the time the operating was available to present it's common
> services to userland.  That excludes any suspend and ddb times.  Single
> user mode however counts because the OS was servicing userland even if
> there was only one user.  Uptime is represented in SI seconds.

I can live with this definition.

So now we just need to be able to reliably measure the "not-uptime".

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


More information about the cvs-src mailing list