1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/linux/vnstat.md

25 lines
523 B
Markdown
Raw Normal View History

2020-11-01 15:44:56 +01:00
# vnstat
> A console-based network traffic monitor.
> More information: <https://manned.org/vnstat>.
2020-11-01 15:44:56 +01:00
- Display traffic summary for all interfaces:
`vnstat`
- Display traffic summary for a specific network interface:
`vnstat -i {{network_interface}}`
2020-11-01 15:44:56 +01:00
- Display live stats for a specific network interface:
`vnstat -l -i {{network_interface}}`
2020-11-01 15:44:56 +01:00
- 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}}`