final stage

This commit is contained in:
2026-02-10 23:22:08 +01:00
parent 1825e4bd08
commit 75e84abf4c
5 changed files with 539 additions and 262 deletions

9
test.sh Executable file
View File

@@ -0,0 +1,9 @@
python test.py &
pid=$!
max=0
while kill -0 $pid 2>/dev/null; do
rss=$(awk '/VmRSS/ {print $2}' /proc/$pid/status)
(( rss > max )) && max=$rss
sleep 0.1
done
echo "Max RSS = $max kB"