diff options
author | onefang | 2019-12-10 15:47:45 +1000 |
---|---|---|
committer | onefang | 2019-12-10 15:47:45 +1000 |
commit | 86a89a372ec2c09894d5fa7bc1fff2421f484a88 (patch) | |
tree | d8ebbd381aeb5ebef1f2b22927bba98b3bdee79b /apt-panopticon-report-RRD.lua | |
parent | Typo-- (diff) | |
download | apt-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-x | apt-panopticon-report-RRD.lua | 16 |
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 | |||
3 | local APT = require 'apt-panopticommon' | ||
4 | local D = APT.D | ||
5 | local I = APT.I | ||
6 | local W = APT.W | ||
7 | local E = APT.E | ||
8 | local C = APT.C | ||
9 | local arg, sendArgs = APT.parseArgs({...}) | ||
10 | |||
11 | |||
12 | APT.mirrors = loadfile("results/mirrors.lua")() | ||
13 | APT.html = false | ||
14 | for k, v in APT.orderedPairs(APT.mirrors) do | ||
15 | APT.doRRD('results', k, v) | ||
16 | end | ||