tldr/pages/linux/vnstati.md

21 lines
670 B
Markdown
Raw Permalink Normal View History

2021-07-17 14:11:18 +01:00
# vnstati
> PNG image output support for vnStat.
> More information: <https://manned.org/vnstati>.
- Output a summary of the last 2: months, days, and all-time:
`vnstati --summary --iface {{network_interface}} --output {{path/to/output.png}}`
- Output the 10 most traffic-intensive days of all time:
`vnstati --top10 --iface {{network_interface}} --output {{path/to/output.png}}`
- Output monthly traffic statistics from the last 12 months:
`vnstati --months --iface {{network_interface}} --output {{path/to/output.png}}`
- Output hourly traffic statistics from the last 24 hours:
`vnstati --hours --iface {{network_interface}} --output {{path/to/output.png}}`