Command line bandwidth monitors for Linux


Slurm

If you are a Sysadmin, monitoring bandwidth usage on your server is an important task. We agree some of you might have bandwidth graphs on your server monitoring platform or on your server provider’s control panel. But having the ability to monitor the bandwidth in real time helps to solve many problems.

On this post you will find out 2 different, simple command line bandwidth monitor tools to view the outgoing and incoming bandwidth consumption in real time. You will only need one.

Slurm

Slurm is my new favorite in this category. Screenshot above shows how “Slurm” shows you the data. “Slurm” is available on the default Debian/Ubuntu package repository and To install “Slurm” on your Linux server just run

sudo apt-get install slurm

Using Slurm is also very easy. Just run the command below to view statistics like shown above

slurm -i eth0

You need to replace the interface according to your system. For example OpenVZ systems use “venet0″ as the ethernet interface and to view stats on a OpenVZ VPS use, “slurm -i venet0″


Nload1

Nload is also a very nice command line bandwidth monitor utility just like slurm. However I prefer slurm since it displays more data and its worth to note that Nload doesn’t work correctly on some OpenVZ kernels. So if you have a OpenVZ VPS, Nload might not work correctly and will display wrong results as shown on the above screenshot. However in my experience it works well on KVM,Xen and Dedicated servers.

Nload is also available on the default repository of Debian/Ubuntu. To install Nload just run

sudo apt-get install nload

And to view data run,

nload

When you run Nload it will display the statistics of loopback interface. To monitor the Ethernet port, click the down arrow key on your keyboard. You can navigate between the interfaces by using the up and down arrows.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to Access your Folders(Linux/Centos) using WinSCP

Guide on how to access the folders in your vps linux! This is the easiest way, First make sure...

How to traceroute your VPS IP?

How to Use the Traceroute Command Traceroute is a command which can show you the path a...

Check the RAM Usage in Linux

1. Login to your VPS using Putty. 2. Type: free -m

How to do “mysqladmin flush-hosts” on VPS server?

How to fix this error "MySQL Database Error: Host '127.0.0.1' blocked because of many...

How to Fix PHPMyAdmin Error "Fatal error: Allowed memory size of 132218712 bytes exhausted (tried to allocate 11641294 bytes)"?

METHOD: 1. Clear your web browser cache.a.) Windows CMD: http://www.wikihow.com/Flush-DNSb.)...