Install vnstat , it gives logs the usage on a network interface and you can display the usage over different time periods. Here's the default output from my system
16 Useful Bandwidth Monitoring Tools to Analyze Network Usage in Linux · 1. vnStat – A Network Traffic Monitor · 2. iftop – Displays Bandwidth ...
I found some really useful links on the internet. (first link also works for linux in computers). From raspberrypi.org: ...
To monitor the bandwidth usage in realtime, use the '-l' option (live mode). It would then show the total bandwidth used by incoming and outgoing ...
vnStat is a console-based network traffic monitor for Linux and BSD that keeps a log of network traffic for the selected interface(s). It uses the network interface ...
nload is an open-source console application that allows you to monitor network traffic and bandwidth usage in real time. It visualizes incoming ...
iftop Display Bandwidth Usage. If you are familiar with the top command for monitoring processor usage, you will ...
IPTraf is a console-based network statistics utility for Linux.
Linux administrators should keep an eye on what is running on their network and taking much network bandwidth. Monitoring network usage ...
vnstat monitors all network interfaces, and keeps logs on how much traffic your servers are handling, which can be used to present monthly, daily, ...