freebsd-dev/usr.bin/vmstat
Justin Hibbits fb3d972447 Temporarily widen count for interrupt rate calculations on 32-bit archs
If the interrupt count is very high (greater than ~42M), notably on one-shot
execution on long running systems, the intermediate multiplication step in the
rate calculation will overflow the width of a 32-bit architecture long (32
bits), causing the rest of the calculation to calculate with a truncated value,
and report very low rates (sometimes 0).

MFC after:	2 weeks
2018-02-08 05:18:30 +00:00
..
tests vmstat(8): Hook up NetBSD tests 2018-01-11 16:04:04 +00:00
Makefile vmstat(8): Hook up NetBSD tests 2018-01-11 16:04:04 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
vmstat.8 Update various statements in vmstat(8) to match reality. 2018-01-18 19:43:02 +00:00
vmstat.c Temporarily widen count for interrupt rate calculations on 32-bit archs 2018-02-08 05:18:30 +00:00