≡ Menu

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?

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.


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:
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 )

Share this tutorial on:

Like this? Follow us on Twitter OR support us by using Patreon

{ 6 comments… add one }
  • Mike December 11, 2012, 12:26 am

    This is great! Anything similar for monitoring sensor temps?

    • Mike2 April 18, 2013, 4:45 pm

      sudo apt-get install sensors-lm

  • Amani Musomba May 9, 2014, 10:21 pm

    Great stuff……

  • M. Adel December 29, 2014, 2:17 pm

    Please have a look on BWTop – CLI tool to monitor network interfaces bandwidth rate:

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

  • Fela December 30, 2014, 3:32 pm

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

  • Johan De Meersman July 31, 2015, 4:43 am

    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?

Security: Are you a robot or human?

Leave a Comment

You can use these HTML tags and attributes: <strong> <em> <pre> <code> <a href="" title="">

   Tagged with: , ,