aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/apt-panopticon-report-RRD.lua
diff options
context:
space:
mode:
authoronefang2019-12-10 15:47:45 +1000
committeronefang2019-12-10 15:47:45 +1000
commit86a89a372ec2c09894d5fa7bc1fff2421f484a88 (patch)
treed8ebbd381aeb5ebef1f2b22927bba98b3bdee79b /apt-panopticon-report-RRD.lua
parentTypo-- (diff)
downloadapt-panopticon-86a89a372ec2c09894d5fa7bc1fff2421f484a88.zip
apt-panopticon-86a89a372ec2c09894d5fa7bc1fff2421f484a88.tar.gz
apt-panopticon-86a89a372ec2c09894d5fa7bc1fff2421f484a88.tar.bz2
apt-panopticon-86a89a372ec2c09894d5fa7bc1fff2421f484a88.tar.xz
Add RRD data collection, and a speed graph.
Diffstat (limited to 'apt-panopticon-report-RRD.lua')
-rwxr-xr-xapt-panopticon-report-RRD.lua16
1 files changed, 16 insertions, 0 deletions
diff --git a/apt-panopticon-report-RRD.lua b/apt-panopticon-report-RRD.lua
new file mode 100755
index 0000000..dfe21d2
--- /dev/null
+++ b/apt-panopticon-report-RRD.lua
@@ -0,0 +1,16 @@
1#!/usr/bin/env luajit
2
3local APT = require 'apt-panopticommon'
4local D = APT.D
5local I = APT.I
6local W = APT.W
7local E = APT.E
8local C = APT.C
9local arg, sendArgs = APT.parseArgs({...})
10
11
12APT.mirrors = loadfile("results/mirrors.lua")()
13APT.html = false
14for k, v in APT.orderedPairs(APT.mirrors) do
15 APT.doRRD('results', k, v)
16end