https://tech.iprock.com/archives/11820
Link: Use VnStat to Monitor Network Traffic from Linux Command Line