Debian / Ubuntu: Console Based Network Load Monitor

I am looking for a generic network load monitor that will work over the remote ssh session. Nothing fancy. All I need is current device statistics together with a nice graph. How do I monitor network load using a console based software under Debian or Ubuntu Linux operating systems?

Tutorial details
DifficultyEasy (rss)
Root privilegesYes
RequirementsDebian/Ubuntu
slurm
TimeN/A
You can try slurm. It is an easy to use network load monitor. It will work over ssh session and can be easily installed under Debian or Ubuntu Linux operating systems. It can visualizes network interface traffic using ascii graph.

ADVERTISEMENTS

Installation

Type the following command:
$ sudo apt-get install slurm
Sample outputs:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  slurm
0 upgraded, 1 newly installed, 0 to remove and 11 not upgraded.
Need to get 0 B/24.0 kB of archives.
After this operation, 123 kB of additional disk space will be used.
Selecting previously deselected package slurm.
(Reading database ... 280982 files and directories currently installed.)
Unpacking slurm (from .../slurm_0.3.3-2_amd64.deb) ...
Processing triggers for man-db ...
Setting up slurm (0.3.3-2) ...

How do I used slurm?

The syntax is:

slurm -i ethX
slurm [options] -i ethX

The -i option selects interface to monitor:
slurm -i eth0
Sample outputs:

Fig.01: Linux monitor network interface traffic with slurm software

Fig.01: Linux monitor network interface traffic with slurm software

To start slurm with classic/combined graph pass the -c option:
slurm -i eth0 -c
To start start slurm in split graph mode pass the -s option:
slurm -i eth0 -s
To start start slurm in large split graph mode pass the -l option:
slurm -l eth0 -c

Keyboard shortcut code

From the man page

     slurm supports several different keys for interaction:

     c       switch to classic mode

     s       switch to split graph mode

     l       switch to large graph mode

     L       enable TX/RX led

     m       switch between classic, split and large view

     z       zero counters

     r       redraw screen

     q       quit slurm

Check out related media

This tutorial is also available in a quick video format:



(Video 01: Debian / Ubuntu Linux: Monitor Network Traffic Load Over SSH Session With Slurm )

🐧 Get the latest tutorials on SysAdmin, Linux/Unix, Open Source/DevOps topics:
CategoryList of Unix and Linux commands
File Managementcat
FirewallCentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Network Utilitiesdig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg jobs killall kill pidof pstree pwdx time
Searchinggrep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNCentOS 8 Debian 10 Firewall Ubuntu 20.04

ADVERTISEMENTS
6 comments… add one
  • Mike Dec 11, 2012 @ 0:26

    This is great! Anything similar for monitoring sensor temps?

    • Mike2 Apr 18, 2013 @ 16:45

      sudo apt-get install sensors-lm

  • Amani Musomba May 9, 2014 @ 22:21

    Great stuff……

  • M. Adel Dec 29, 2014 @ 14:17

    Please have a look on BWTop – CLI tool to monitor network interfaces bandwidth rate:
    http://adelmahmoud.wordpress.com/2014/06/24/bwtop/

    I’ll be glad if you post about it :)

  • Fela Dec 30, 2014 @ 15:32

    Hi,
    Can slurm be used in a CentOS linux server? If yes, then how can I do it using ssh?

  • Johan De Meersman Jul 31, 2015 @ 4:43

    I tend to use nload; slurm looks definitely interesting, too. I found this page looking for something similar, but for disk I/O, though… Any pointers?

Leave a Reply

Your email address will not be published.

Use HTML <pre>...</pre>, <code>...</code> and <kbd>...</kbd> for code samples.