Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When doing ifconfig from hour to hour I notice that the counters for RX/TX bytes transfers resets:

RX bytes:921640934 (921.6 MB) TX bytes:4001470884 (4.0 GB)

How come? I would like to keep track how much data i transfer from day to day but they keep resetting.

share|improve this question
up vote 3 down vote accepted

Seems like counters are 32bit integers so they "wrap around" at ~4GB.

share|improve this answer

I believe that MrShunz's answer is correct. However, not all hope is lost. If you are interested in keeping statistics on how much you transfer each day, you might consider vnstat.

share|improve this answer
    
Thanks. Vnstat works like a charm – jonasl Oct 24 '10 at 8:51

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.