From nobody@FreeBSD.org  Sun Jul  9 17:26:23 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 093EA16A4DE
	for <freebsd-gnats-submit@FreeBSD.org>; Sun,  9 Jul 2006 17:26:23 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id B5CDD43D45
	for <freebsd-gnats-submit@FreeBSD.org>; Sun,  9 Jul 2006 17:26:22 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k69HQMX7060152
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 9 Jul 2006 17:26:22 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id k69HQMuA060151;
	Sun, 9 Jul 2006 17:26:22 GMT
	(envelope-from nobody)
Message-Id: <200607091726.k69HQMuA060151@www.freebsd.org>
Date: Sun, 9 Jul 2006 17:26:22 GMT
From: "Vladimir K." <wawaka@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: systat -ifstat traffic counter overflow
X-Send-Pr-Version: www-2.3

>Number:         99973
>Category:       bin
>Synopsis:       systat(1): systat -ifstat traffic counter overflow
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          suspended
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 09 17:30:14 GMT 2006
>Closed-Date:    
>Last-Modified:  Tue Jul 10 03:33:16 UTC 2012
>Originator:     Vladimir K.
>Release:        
>Organization:
>Environment:
FreeBSD cs.lan 6.1-STABLE-200606 FreeBSD 6.1-STABLE-200606 #0: Sun Jun  4 11:08:09 UTC 2006     root@opus.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
Traffic counter in systat -ifstat overflows after each 4GiB data transferred
and starts from the beginning
>How-To-Repeat:
transfer 4GiB or more data through the network interface while looking at
systat -ifstat
>Fix:

>Release-Note:
>Audit-Trail:
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 
Responsible-Changed-From-To: yar->freebsd-bugs 
Responsible-Changed-By: eadler 
Responsible-Changed-When: Tue Jul 10 03:33:15 UTC 2012 
Responsible-Changed-Why:  
over to the pool (with bugmeister approval) 

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