Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Nov 2006 12:00:44 GMT
From:      Yar Tikhiy <yar@FreeBSD.org>
To:        wawaka@gmail.com, yar@FreeBSD.org, freebsd-bugs@FreeBSD.org, yar@FreeBSD.org
Subject:   Re: bin/99973: systat(1): systat -ifstat traffic counter overflow
Message-ID:  <200611271200.kARC0ipR099849@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200611271200.kARC0ipR099849>