Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I've been using ubuntu servers for a long time, but something i've never quite understood was the ifconfig command and total bandwidth.

I've found that on every server i've used, and some desktop versions, the bandwidth ALWAYS resets its total when it hits something like 4.6GB. How can i change it where it keeps track of more total bandwidth?

I've logged into a professional hosting site that uses Ubuntu Servers, and when i used Ifconfig on their server it reported the real total, which ranged over the TB mark. I want my servers to do the same.

Thanks :)

Xrpixer

share|improve this question
    
Are you using 32-bit? Perhaps they were using 64-bit? I don't know, just throwing a wild guess... –  Anonymous Feb 26 '12 at 10:28
    

1 Answer 1

The counter is an integer, and at 4.6G it wraps around back to 0 (on 32 bit systems). The wrap around point for 64 bit systems is much higher (you should never hit it, actually).

If you want to track usage, install vnstat (it's awesome).

share|improve this answer

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.