Question

Noob rx tx question when using vnstat

Don’t knwo if this is the right place for me to ask this but I’m a bit confused. I’m using vnstat to measure my bandwidth usage, and I really do not understand what how the RX and TX stats show me my data. I understand that RX is download and TX is upload, but who’s, when a user request a webpage from my server the server is than uploading the content, but my upload stats are extremly low it’s like my server is not serving anything, but on the other hand, my RX stats show large download amounts.

I just do not get it or my brain has just stopped working. Any one to help me?


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

An easier way to think about it is:

tx = transmit rx = receive

What kind of content are you serving? If it’s just static html, then your actual outgoing bandwidth will not be very high. One reason you might see the rx value being higher than you’d think is that on Ubuntu, <code>apt-get update</code> is run in the background occasionally. If you want to disable that, edit the file <code>/etc/apt/apt.conf.d/10periodic</code> and make sure that all the values are set to “0”.