#!/bin/bash # win-ci VM 현재 상태를 한 번에 본다. cd /home/claude/win-ci echo "=== 유닛 ===" systemctl --user is-active win-ci.service win-ci-http.service | paste -sd' ' - systemctl --user show win-ci.service -p MemoryCurrent -p CPUUsageNSec --value | paste -sd' ' - echo echo "=== 디스크 사용량 (설치가 진행되면 커진다) ===" du -h --apparent-size win-ci.qcow2 2>/dev/null | cut -f1 du -h win-ci.qcow2 | cut -f1 echo echo "=== 게스트 로그 (HTTP, 최근 25줄) ===" tail -n 25 guest.log 2>/dev/null || echo "(아직 없음 - 네트워크 올라오기 전)" echo echo "=== 시리얼 로그 (최근 25줄) ===" tail -n 25 serial.log 2>/dev/null | tr -d '\r' || echo "(아직 없음)" echo echo "=== 러너 등록 토큰 ===" if [ -s serve/runner-token.txt ]; then echo "있음 ($(wc -c < serve/runner-token.txt) bytes)"; else echo "없음 - serve/runner-token.txt 에 넣으면 게스트가 20초 안에 자동 등록"; fi