Monitor Network Traffic in Real Time on CentOS 7 – I wanted a way to be able to view the traffic coming in and out of the box… real time. I initially tried using vnstat, but didn’t get very far with it as it kept waiting for data. I came across nload…

Installing nload

You only need to install the nload package within CentOS 7.

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 virtualisation (e.g. KVM or Xen), the Ethernet adaptor’s name can vary from eth0 to even just eth.

nload eth0

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

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

A graph will start building shortly after you enter the commands. It’ll look something like this:

Monitor Network Traffic in Real Time on CentOS 7

Leave a Reply