Monitor used traffic of your VPS

Kashif Ahamed
realmau5
Published in
1 min readMar 28, 2016

--

I was looking for a way to monitor my VPS for a while as my hosting provider(DigitalOcean) only lets me check the bandwidth details in a graph form which is not cool :(

I found this this neat command-line tool called vnStat.

Assuming you have an Ubuntu server you could configure this awesome tool in a jiffy

  1. SSH in to your server and type
sudo apt-get install vnstat
  1. Configure vnstat (assuming you have eth0 network interface) using type
sudo vnstat -u -i eth

to check your stat type

vnstat -i eth0 

enjoy :)

Ubuntu

(sample output — screenshot )

Source : DigitalOcean Community

--

--

Kashif Ahamed
realmau5

Technical Consultant/Project Manager and an occasional Blogger from the tropical island, Sri Lanka 🏝