#!/bin/bash echo "=== Active build processes ===" ps aux | grep -E "(build_pytorch|python.*setup|cmake|ninja|make|git.*(clone|submodule))" | grep -v grep | head -10 echo "" echo "=== Log size ===" wc -l ~/pytorch-build.log 2>/dev/null echo "" echo "=== Last 30 lines of log ===" tail -30 ~/pytorch-build.log 2>/dev/null echo "" echo "=== Build directory status ===" du -sh ~/pytorch-build 2>/dev/null ls ~/pytorch-build/build 2>/dev/null && echo "Build dir exists" || echo "Build dir not yet created" ls ~/pytorch-build/dist/*.whl 2>/dev/null && echo "Wheel found!" || echo "No wheel yet"