Update cheatsheets

This commit is contained in:
ivuorinen
2024-02-21 11:19:49 +00:00
parent 4e88a1b42f
commit 3d653cc7e6
4803 changed files with 127002 additions and 0 deletions

25
linux/vnstati Normal file
View File

@@ -0,0 +1,25 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# 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}}`