From 571f8940464eff25b86a03901a5edb3b89eae8d6 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 f92369124af42addbeada1702e60a70a8bf8a96f 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 ce89da115a92b2074f85f9abd463c7f1ebdffc62 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 1b00f35cb6fae4dd127edf8322b8f4fdf1d69bbc 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 d0a875a4133ab6bb7edc451b7726da96a6c6b5f1 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 813a6efbc955c5017379e06e39797dc39d110e3d 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