Files
felhom.eu/documentation/audits/linetest-2026-10-27/tools/sec1.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

9 lines
519 B
Bash

#!/bin/sh
# sec1.sh <seconds> — INSIDE guest 9201 (R-1250 diagnosis, read only): every second, the bytes the throwaway qBittorrent
# container sent (its own eth0, inside its netns) and the bytes the guest sent on its LAN eth0 (after the forwarder).
N=$1; PID=$(docker inspect -f '{{.State.Pid}}' qbittorrent)
i=0; while [ $i -lt $N ]; do
c=$(awk '/eth0:/{print $10}' /proc/$PID/net/dev); g=$(cat /sys/class/net/eth0/statistics/tx_bytes)
echo "$(date -u +%H:%M:%S) ctr_tx=$c guest_tx=$g"; i=$((i+1)); sleep 1
done