From 176fa82930011b0d550af954b162167b613259d2 Mon Sep 17 00:00:00 2001 From: Enrico Minack Date: Tue, 24 Oct 2023 18:28:52 +0200 Subject: [PATCH] Use top to log memory usage --- .github/workflows/publish_snapshot.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish_snapshot.yml b/.github/workflows/publish_snapshot.yml index 09de3c1ad9c09..3354ab88a395e 100644 --- a/.github/workflows/publish_snapshot.yml +++ b/.github/workflows/publish_snapshot.yml @@ -73,7 +73,9 @@ jobs: run: | while true do - ps -u | sed -e "s/^/ps: $(date) /" + date + top -b -n 1 -i sleep 1 - done & + echo + done | sed "s/^/mem: /" & ./dev/create-release/release-build.sh publish-snapshot