View previous topic :: View next topic |
Author |
Message |
maca Tux's lil' helper
Joined: 26 Jun 2003 Posts: 84 Location: Perth, Australia
|
Posted: Sun Oct 05, 2003 9:59 pm Post subject: Nic Card ...traffic reset ? |
|
|
I have had my gentoo box up for a month or so constantly now ... and I have been D/L quite a bit, but I find that after about 5 gig of D/L the ifconfig command will return a traffic count of less than this .... like the interface has reset ? It's not a terribly big deal but I am curious can anyone shed any light on the senario ???
cheers _________________ You can take nothing from me that I will more freely give, except my life
William Shakespeare
Hamlet |
|
Back to top |
|
|
andrew_j_w Guru
Joined: 28 Jun 2003 Posts: 534 Location: York, UK
|
Posted: Sun Oct 05, 2003 10:42 pm Post subject: |
|
|
The amount of traffic is stored as bytes in a normal 32 bit unsigned integer.
2^32 bytes
= 4294967296 bytes
= 4194304 kilobytes
= 4096 megabytes
When the amount of traffic gets above 4096MB it overflows and returns to 0.
I'm pretty sure that's what happens, I haven't actually looked at the code to check...
HTH,
Andrew |
|
Back to top |
|
|
maca Tux's lil' helper
Joined: 26 Jun 2003 Posts: 84 Location: Perth, Australia
|
Posted: Sun Oct 05, 2003 10:57 pm Post subject: |
|
|
thanks bud, I pretty much thought it was something like that ....thanks for the confirmation .......... _________________ You can take nothing from me that I will more freely give, except my life
William Shakespeare
Hamlet |
|
Back to top |
|
|
|