bin/99973: systat(1): systat -ifstat traffic counter overflow

Yar Tikhiy yar at FreeBSD.org
Mon Nov 27 04:00:46 PST 2006


Synopsis: systat(1): systat -ifstat traffic counter overflow

State-Changed-From-To: open->suspended
State-Changed-By: yar
State-Changed-When: Mon Nov 27 11:57:30 UTC 2006
State-Changed-Why: 
systat(1) just displays the values of byte counters on the network
interfaces.  So does netstat(1).  The counters are u_long, so they
are 32-bit on i386 and other 32-bit architectures, while they are
64-bit on 64-bit architectures.  E.g., they can account up to 2^64-1
bytes on amd64 or ia64.

Of course, 64-bit counters can be emulated in systat(1) by paying
attention to kernel counter overflows -- if someone writes a patch.


Responsible-Changed-From-To: freebsd-bugs->yar
Responsible-Changed-By: yar
Responsible-Changed-When: Mon Nov 27 11:57:30 UTC 2006
Responsible-Changed-Why: 
So I can see feedback...

http://www.freebsd.org/cgi/query-pr.cgi?pr=99973


More information about the freebsd-bugs mailing list