1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-10-28 21:17:57 +01:00
tldr/pages/linux/vnstat.md
2022-03-21 14:07:48 -03:00

497 B

vnstat

A console-based network traffic monitor. More information: https://manned.org/vnstat.

  • Display traffic summary for all interfaces:

vnstat

  • Display traffic summary for a specific network interface:

vnstat -i {{eth0}}

  • Display live stats for a specific network interface:

vnstat -l -i {{eth0}}

  • Show traffic statistics on an hourly basis for the last 24 hours using a bar graph:

vnstat -hg

  • Measure and show average traffic for 30 seconds:

vnstat -tr {{30}}