Monitor Network traffic & Live up/down speed in linux terminal with vnstat

Vnstat is an Open Source, command-line based network traffic monitoring tool for Linux and BSD. It keeps track of network traffic for different network interfaces. It always runs in the background to do so. It can also show current/live Internet  download/upload speed. It uses network interface information from the Kernal and is not a packet sniffer therefore it ensures light use of system resources.

Install vnstat

Open up your terminal (ctrl+alt+t) and enter
(for Ubuntu/Debian/Linux Mint)
sudo apt-get install vnstat
After installation it will automatically start and it will auto start at each system boot. you can check this using systemctl
aman@vostro:~$ systemctl status vnstat
● vnstat.service - vnStat network traffic monitor
Loaded: loaded (/lib/systemd/system/vnstat.service; enabled; vendor preset: e
Active: active (running) since Mon 2017-01-09 11:46:21 IST; 25s ago
Docs: man:vnstatd(1)
man:vnstat(1)
man:vnstat.conf(5)
Main PID: 8511 (vnstatd)
CGroup: /system.slice/vnstat.service
└─8511 /usr/sbin/vnstatd -n

Jan 09 11:46:21 vostro systemd[1]: Started vnStat network traffic monitor.


Read more »

Comments

Popular posts from this blog

How to install python-gst (pygst) in ubuntu 16.04

How to make a gui Calculator in Python using Tkinter

How to Install Antlr4 in Ubuntu/Linux