Learn How To Monitor Network Traffic in Real Time on CentOS 6

January 1, 2020

Table of Contents


In this IT Web Services tutorial, you will learn how to view incoming and outgoing traffic in real-time using nload. This tool can be useful when you are trying to gauge how much bandwidth your server will use for the month.

This tutorial will work with both 32 and 64 bit systems of CentOS 6.

Installing nload

https://www.itweb.services/tutorials/linux-guides/enable-epel-on-centos”>this tutorial.

yum -y install nload

Using nload

To run nload, enter the following command (respectively to your Ethernet adapter’s name). If you’re on another type of virtualization (e.g. KVM or Xen), the ethernet adapter’s name can vary from eth0 to even just eth.

nload venet0

nload allows you to define the unit used for network traffic:

nload venet0 -u b|k|g
  • b = bytes
  • k = kilobytes
  • g = gigabytes

A graph will start building shortly after you enter the commands. This is what it will look like:


If you wish to log the graphing information, increase the interval time and dump it to a file. In the example below, 500 is the interval.

cd ~
mkdir logs
cd logs
nload -t 500 | tee graph.log

Congratulations, you can now use nload on your IT Web Services VPS. If you no longer need it, nload can be removed by typing:

yum -y remove nload

Need help?

Do you need help setting up this on your own service?
Please contact us and we’ll provide you the best possible quote!