How to monitor your data transfer via vnstat – Network Traffic Monitor

We can check the status of data transfer using vnstat command. Install it by the command

Main configuration files: /etc/vnstat.conf and /etc/sysconfig/vnstat


To see eth0 stats, enter                   : vnstat -i eth0
To see daily stats for eth0, enter      : vnstat -i eth0 -d
To see hourly network stats, enter    : vnstat -i eth0 -h
To see monthly network stats, enter  : vnstat -i eth0 -m
To see weekly network stats, enter   : vnstat -i eth0 -w

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">