From 88cfe8edf961bfbd99a11ec78e701ca2c9209f37 Mon Sep 17 00:00:00 2001 From: Johannes Findeisen Date: Thu, 9 Jan 2020 19:33:27 +0100 Subject: [PATCH 1/6] stats fix --- bin/stats.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/stats.sh b/bin/stats.sh index 3625066b..a5036279 100755 --- a/bin/stats.sh +++ b/bin/stats.sh @@ -33,7 +33,7 @@ generate_index() { generate_index > "$output"/index.html #fi -for type in hours days months top10 summary hsummary vsummary; do +for type in hours days months summary hsummary vsummary; do vnstati --${type} -i $nic -o $output/${type}.png done - +vnstati --top 10 -i $nic -o $output/top10.png From d332002406c2db943c4598fb9d5fea2c2b9767c9 Mon Sep 17 00:00:00 2001 From: Johannes Findeisen Date: Mon, 16 Mar 2020 23:43:01 +0100 Subject: [PATCH 2/6] some fix --- bin/stats.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/bin/stats.sh b/bin/stats.sh index a5036279..364ca198 100755 --- a/bin/stats.sh +++ b/bin/stats.sh @@ -36,4 +36,3 @@ generate_index() { for type in hours days months summary hsummary vsummary; do vnstati --${type} -i $nic -o $output/${type}.png done -vnstati --top 10 -i $nic -o $output/top10.png From 5ce048387fcf481d8357d41dbb1db1d37e33e588 Mon Sep 17 00:00:00 2001 From: Johannes Findeisen Date: Mon, 16 Mar 2020 23:50:32 +0100 Subject: [PATCH 3/6] stats fix --- bin/stats.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bin/stats.sh b/bin/stats.sh index 364ca198..60200f94 100755 --- a/bin/stats.sh +++ b/bin/stats.sh @@ -18,10 +18,9 @@ generate_index() {
summary
-
hours
+
hours
days
months
-
top10
From 0b31c610511d6e5b8156d49b053eb44c2775307d Mon Sep 17 00:00:00 2001 From: Johannes Findeisen Date: Tue, 17 Mar 2020 21:34:41 +0100 Subject: [PATCH 4/6] added top --- bin/stats.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/stats.sh b/bin/stats.sh index 60200f94..d5cd47fc 100755 --- a/bin/stats.sh +++ b/bin/stats.sh @@ -32,6 +32,6 @@ generate_index() { generate_index > "$output"/index.html #fi -for type in hours days months summary hsummary vsummary; do +for type in hours days top months summary hsummary vsummary; do vnstati --${type} -i $nic -o $output/${type}.png done From 4322b9cb0e7ef8f80131ebff94878ba6c648760d Mon Sep 17 00:00:00 2001 From: Johannes Findeisen Date: Tue, 17 Mar 2020 22:25:48 +0100 Subject: [PATCH 5/6] added top to stats --- bin/stats.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/stats.sh b/bin/stats.sh index 60200f94..d5cd47fc 100755 --- a/bin/stats.sh +++ b/bin/stats.sh @@ -32,6 +32,6 @@ generate_index() { generate_index > "$output"/index.html #fi -for type in hours days months summary hsummary vsummary; do +for type in hours days top months summary hsummary vsummary; do vnstati --${type} -i $nic -o $output/${type}.png done From 5224ea035ea362ded3dae91fae7416c2194d74ac Mon Sep 17 00:00:00 2001 From: Johannes Findeisen Date: Tue, 17 Mar 2020 22:59:55 +0100 Subject: [PATCH 6/6] foooo --- bin/stats.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bin/stats.sh b/bin/stats.sh index d5cd47fc..b161eea5 100755 --- a/bin/stats.sh +++ b/bin/stats.sh @@ -18,9 +18,13 @@ generate_index() {
summary
+
summary
hours
+
hours
days
+
days
months
+
months
@@ -32,6 +36,6 @@ generate_index() { generate_index > "$output"/index.html #fi -for type in hours days top months summary hsummary vsummary; do +for type in fiveminutes hours hoursgraph days top months years summary hsummary vsummary; do vnstati --${type} -i $nic -o $output/${type}.png done