Debian / Ubuntu: Console Based Network Load Monitor

by on December 10, 2012 · 2 comments· LAST UPDATED December 10, 2012

in ,

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
Estimated completion 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.

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 )

TwitterFacebookGoogle+PDF versionFound an error/typo on this page? Help us!

{ 2 comments… read them below or add one }

1 Mike December 11, 2012 at 12:26 am

This is great! Anything similar for monitoring sensor temps?

Reply

2 Mike2 April 18, 2013 at 4:45 pm

sudo apt-get install sensors-lm

Reply

Leave a Comment

Tagged as: , ,

Previous Faq:

Next Faq: