Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: basesrc/usr.bin/vmstat



Module Name:    basesrc
Committed By:   nathanw
Date:           Mon Nov 18 03:17:24 UTC 2002

Modified Files:
        basesrc/usr.bin/vmstat: vmstat.c

Log Message:
In getuptime(), use kread() to get the current time as well as boottime,
instead of calling time(3).

This makes rate calculations of crash dumps sensible; in contrast,
subtracting the boot time of the crash dump from the current time of the
running system produces a not-very-meaningful number.


To generate a diff of this commit:
cvs rdiff -r1.104 -r1.105 basesrc/usr.bin/vmstat/vmstat.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index