Skip to content

Commit ac04358

Browse files
committed
print disk usage in background
1 parent c0b29b8 commit ac04358

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/ci/docker/host-x86_64/x86_64-fuchsia/build-fuchsia.sh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,4 +93,16 @@ fi
9393
# You can change arguments to the build by setting KEEP_CHECKOUT=1 above and
9494
# modifying them in build_fuchsia_from_rust_ci.sh.
9595
echo "running build_fuchsia_from_rust_ci.sh" && df -h /
96+
97+
# Start background monitoring of disk space
98+
(
99+
while true; do
100+
df -h /
101+
sleep 20
102+
done
103+
) &
104+
MONITOR_PID=$!
105+
96106
bash scripts/rust/build_fuchsia_from_rust_ci.sh
107+
108+
kill $MONITOR_PID

0 commit comments

Comments
 (0)