scripts: reboot series, pgrep must not match its own ssh command

This commit is contained in:
Pavlo Ratushnyi
2026-11-01 23:27:11 +01:00
parent 953984d719
commit bcdb5f92f9
+1 -1
View File
@@ -29,7 +29,7 @@ foreign() { # prints what is running/queued that is not ours
for r in *.running; do b=${r%.running}; case $b in 220-expert-tier|decode-sass-trace2|bpe-*) continue;; esac; echo "running:$b"; done
[ -d /data/leleka-e2e/gpu.lock ] && echo "gpu.lock:$(cat /data/leleka-e2e/gpu.lock/owner 2>/dev/null)"
nvidia-smi --query-compute-apps=pid --format=csv,noheader | sed "s/^/gpu-pid:/"
pgrep -f "leleka-inference|strata-next|/strata --serve" | sed "s/^/proc:/"' 2>/dev/null
pgrep -f "[l]eleka-inference|[s]trata-next|[/]strata --serve" | sed "s/^/proc:/"' 2>/dev/null
}
wait_quiet() { # up to 4 h
local n=0 f