HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

vnstati — PNG image output support for vnStat. More information: <https://manned.org/vnstati>.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
supportcommandvnstatiforcliimagepngoutput
linux

Problem

How to use the vnstati command: PNG image output support for vnStat. More information: <https://manned.org/vnstati>.

Solution

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 --top 10 --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}}

Code Snippets

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 --top 10 --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}}

Context

tldr-pages: linux/vnstati

Revisions (0)

No revisions yet.