On Tue, 13 Dec 2022 11:20:46 -0600, Scott Cheloha wrote: > In systat(1)'s vmstat view, dinfo() uses the global "naptime" as an > elapsed time when computing rates. > > The problem is that naptime isn't the actual elapsed time. For > example, if you force a view update by hitting the spacebar, the > actual elapsed time is obviously not naptime. > > The fix is easy. showkre() calls dinfo(), and showkre() has the real > elapsed time (etime), so just pass that as argument to dinfo().
OK millert@ - todd
