Command line bandwidth monitors for Linux
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 is my new favorite in this category. The 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″
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 an OpenVZ VPS, Nload might not work correctly and will display wrong results as shown in the above screenshot. However, in my experience it works well on KVM, Xen and Dedicated servers.
Nload is also available in the default repository of Debian/Ubuntu. To install Nload just run
sudo apt-get install nload
And to view data run,
When you run Nload it will display the statistics of the 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.
- What is the difference between a VPS and Web Hosting (shared)?
- How to reduce the number of inodes/files on cPanel account?
- What are the advantages of a VPS?
- cPanel: Unactive License File
- Command line bandwidth monitors for Linux
- Why is my VPS constantly crashing?
- What is guaranteed and burst memory (RAM)?
- How to change your Web Hosting or CPanel password?
- How do I know what server I am on?
- Changing Server Hostname
- One-Click WordPress
- Check the RAM Usage in Linux
- What is a VPS?
- Our VPS Hosting Test IP
- How to Access your Folders (Linux/Centos) using WinSCP?
- MySQL Table says IN USE, but table will not repair in PHPMyAdmin
- How to change your VPS and phpMyAdmin password?
- How to Fix PHPMyAdmin Error “Fatal error: Allowed memory size of 132218712 bytes exhausted (tried to allocate 11641294 bytes)”?
- Changing Time Zone
- How to Traceroute and Ping your VPS IP Address Connection using WinMTR?