How to Install vnStat and vnStati to Monitor Network Traffic in RHEL/CentOS 7

VnStat is a console based network traffic monitoring tool design for Linux and BSD. It will keep a log of the network traffic for a selected network interface/s. To generate the logs, vnStat uses the information provided by the kernel.