From 433b9647ea0cb9d0577e7806b91da4d1a570d859 Mon Sep 17 00:00:00 2001 From: StackOverBuffer <39347030+StackOverBuffer@users.noreply.github.com> Date: Sun, 1 Nov 2020 15:44:56 +0100 Subject: [PATCH] vnstat: add page (#4875) --- pages/linux/vnstat.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 pages/linux/vnstat.md diff --git a/pages/linux/vnstat.md b/pages/linux/vnstat.md new file mode 100644 index 000000000..c6ceb1ab3 --- /dev/null +++ b/pages/linux/vnstat.md @@ -0,0 +1,23 @@ +# vnstat + +> A console-based network traffic monitor. + +- Display traffic summary for all interfaces: + +`vnstat` + +- Display traffic summary for a specific network interface: + +`vnstat -i {{eth0}}` + +- Display live stats for a specific network interface: + +`vnstat -l -i {{eth0}}` + +- 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}}`