Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 May 2003 06:33:29 +0100
From:      "Andy Gilligan" <andy@evo6.org>
To:        <freebsd-stable@freebsd.org>
Subject:   4GB limit with netstat
Message-ID:  <000f01c31e91$58b00e10$0101000a@vx>

next in thread | raw e-mail | index | archive | help
Hi,

Was wondering if there are any plans to update either the kernel
structures and/or netstat to show more than 4GB of traffic stats.

For example, on a 4.8-STABLE machine:

$ netstat -bI sis0
Name  Mtu   Network    Address            Ipkts Ierrs     Ibytes ...
sis0  1500  <Link#2> <mac-addr-hidden>  8789598     0 4103727771 ...
<non-relevant parts removed>

This shows that sis0 has received around 3.9GB.
Then, after transferring approximately 200MB:

$ netstat -bI sis0
Name  Mtu   Network    Address            Ipkts Ierrs     Ibytes ...
sis0  1500  <Link#2> <mac-addr-hidden>  9245518     0   18874368 ...

The Ibytes line has dropped from 3.9GB to 18MB.
It should of course be 4.1GB.

How much would need to change in either the kernel or netstat to
make >4GB possible?

Best regards
-
Andy



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000f01c31e91$58b00e10$0101000a>