The Geek Stuff published a tutorial about monitor and log network traffic using vnStat
This article is part of our on-going performance monitoring series of articles. In this article, let us focus on how to monitor network traffic and log them for later analysis using vnstat utility. vnstat is a command line utility that displays and logs network traffic of the interfaces on your systems.How to Monitor and Log Network Traffic on Linux Using vnStat