[Bug 219829] "systat -if 1" Peak has wrong display

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jun 7 09:21:29 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219829

Fabian Keil <fk at fabiankeil.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fk at fabiankeil.de

--- Comment #1 from Fabian Keil <fk at fabiankeil.de> ---
systat uses gettimeofday() calls to measure the time difference
between updates.

If the system time jumps, the "elapsed" time can appear to be
less than a second in which case the devisions in fetchifstat()
will result in the devided variables becoming larger.

systat should probably be changed to use clock_gettime()
with a monotonic clock.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list