/proc/stat:btime is not constant.

Tigran Aivazian (tigran@aivazian.demon.co.uk)
Tue, 1 Dec 1998 13:01:44 +0000 (GMT)


The btime field of /proc/stat is documented in proc(5) as the boot time in
seconds since the Epoch. But running watch -n 1 cat /proc/stat shows that
it fluctuates +/- 1 second from time to time, on both UP and SMP (running
2.1.129 and 2.1.130 and 2.1.126).


PS. Thanks to someone who mentioned watch(1) command here today. I did not know
it existed and was about to write one (actually, I did for a particular case
that I needed to watch)!

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/