Date: Fri, 31 Oct 2003 18:06:03 -0800 (PST) From: "Tim J. Robbins" <tjr@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/systat iostat.c Message-ID: <200311010206.hA1263bj049170@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
tjr 2003/10/31 18:06:03 PST
FreeBSD src repository
Modified files:
usr.bin/systat iostat.c
Log:
Copy cur's snap_time to last when refreshing statistics. Fixes problem
where MB/s and tps statistics would always be zero, presumably because
they were being averaged out over the time between now and when the
system booted instead of a few seconds.
PR: 58683
Revision Changes Path
1.21 +2 -0 src/usr.bin/systat/iostat.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200311010206.hA1263bj049170>
