gates / gates (push) Successful in 13m17s
Every catalog app installed, used, backed up, removed keeping data, reinstalled, restored and removed with data on a fresh box from the public ISO (demo-hp VM 9360, Tester4), endpoint-level. Worst: a reinstall's capture rewrites the kept unit so its restore breaks the app (R-1269, P2), the restore still reports success (R-1270, P2), and „use my kept data" loaded another box's future-dated database (R-1271, P2). Drill catalog fixes for the morning list (n8n usage data; OpenGist 256M, proven by a cgroup probe). VM 9360 and LXC 9361 destroyed; hub host Tester4-aa9466 left for the operator. REPORT-catalog-sweep-2026-10-24.md.
15 lines
599 B
Bash
15 lines
599 B
Bash
#!/bin/bash
|
|
# runs IN the guest: memprobe-guest.sh <container> <out> [samples]
|
|
c=$1; out=$2; n=${3:-400}; seen=0
|
|
for i in $(seq 1 $n); do
|
|
id=$(docker inspect -f '{{.Id}}' "$c" 2>/dev/null)
|
|
d=/sys/fs/cgroup/system.slice/docker-$id.scope
|
|
if [ -n "$id" ] && [ -d "$d" ]; then
|
|
seen=1
|
|
echo "$(date -u +%T) anon=$(awk '/^anon /{print int($2/1048576)}' $d/memory.stat)MiB swap=$(( $(cat $d/memory.swap.current 2>/dev/null || echo 0) / 1048576 ))MiB max=$(cat $d/memory.max) $(tr '\n' ' ' < $d/memory.events)" >> "$out"
|
|
elif [ $seen = 1 ] && [ -z "$id" ]; then
|
|
break
|
|
fi
|
|
sleep 3
|
|
done
|