vnstati
Generate network traffic graph images
TLDR
Output a summary of the last 2 months, days, and all-time
SYNOPSIS
vnstati [options] -o file | --output file
DESCRIPTION
vnstati generates PNG images from vnStat network traffic data, providing visual representations of bandwidth usage. It reads the same database as vnstat and outputs graphical summaries suitable for web pages or reports.
The tool supports various time ranges (hourly, daily, monthly, yearly) and can generate traffic summaries, top usage days, and 5-minute resolution graphs. Multiple style options allow customization of appearance.
PARAMETERS
-i, --iface interface
Select interface to use-o, --output file
Output filename (PNG format)-s, --summary
Output traffic summary--top count
Output top days by traffic-h, --hours
Output hourly traffic statistics-d, --days
Output daily traffic statistics-m, --months
Output monthly traffic statistics-y, --years
Output yearly traffic statistics-5, --fiveminutes
Output 5-minute resolution statistics--style num
Modify visual appearance (0-4)-c, --cache time
Update output only if database is newer than time--headertext text
Custom header text--transparent
Toggle background transparency
CAVEATS
Requires vnstat daemon to be running and collecting data. Output is PNG format only. The interface must have existing traffic data in the vnstat database.
HISTORY
Part of the vnStat project by Teemu Toivola. vnstati was added to provide graphical output capabilities, commonly used for generating bandwidth graphs for web-based monitoring dashboards and reports.
