Run memory_sample.py PID CG COUNT INTERVAL OUTPUT for a read-only task/cgroup snapshot. sample_swap_window.sh additionally saves system vmstat and per-process pidstat output. Confirm the cgroup path first and store snapshots on a persistent work disk.
