Files
felhom.eu/documentation/audits/linetest-2026-10-27/tools/gsample.sh
T
admin acd79a78cc
gates / gates (push) Successful in 2m29s
Release block 2026-10-27: hub 0.173.0, agent 0.167.0, controller 0.346.0 released; R-1250 fixed the same day and proven; ten rows closed, R-1312 opened
- audits/linetest-2026-10-27/: the hold failed four times as built (qBittorrent drains ~14 s), the fix 710ceac, the test
  through the hold on 0.346.0-rc.1 (94.5 Mbit/s, the limit back exactly), teardown.
- audits/release-2026-10-27/: builds, agent release + signed updates, per-box and global floors, box walk.
- 09 §3 decisions 269 (R-1250 fix the same day) and 270 (R-1218 live proof waived); D55's window result in 268.
- 08 §: the drain-wait design line. STATUS, CONTEXT, register (223 -> 214).
2026-10-27 15:45:59 +01:00

17 lines
864 B
Bash
Executable File

#!/bin/sh
# gsample.sh — INSIDE guest 9201: one sample of the seeder (its limits, speed) and the controller's line-test records.
Q=/root/r1250/qbg.sh
P=$(sh $Q app/preferences | python3 -c 'import json,sys
try:
d=json.load(sys.stdin); print("up_limit=%s alt_up_limit=%s" % (d.get("up_limit"), d.get("alt_up_limit")))
except Exception as e: print("prefs unreadable")')
M=$(sh $Q transfer/speedLimitsMode)
T=$(sh $Q transfer/info | python3 -c 'import json,sys
try:
d=json.load(sys.stdin); print("up_speed=%.2fMbit" % (d.get("up_info_speed",0)*8/1e6))
except Exception: print("transfer unreadable")')
R=$(python3 -c 'import json
d=json.load(open("/var/lib/docker/volumes/felhom-controller-data/_data/data/settings.json")); u=d.get("upwatch") or {}
print("upwatch=%s" % json.dumps(u)[:400])' 2>&1)
echo "$(date -u +%H:%M:%S) seeder: $P alt_mode=$M $T | ctl: $R"