#!/bin/bash
echo "================================"
echo "Event Service 시작 확인"
echo "================================"
echo ""

echo "1. 프로세스 확인..."
jps -l | grep -i "EventServiceApplication" || echo "❌ 프로세스 없음"
echo ""

echo "2. 포트 확인..."
netstat -ano | findstr "LISTENING" | findstr ":8082" || echo "⚠️ 8082 포트 리스닝 없음"
echo ""

echo "3. Health Check (8082 포트)..."
curl -s http://localhost:8082/actuator/health 2>&1 | head -5
echo ""

echo "4. 로그 확인 (최근 10줄)..."
tail -10 logs/event-service.log
echo ""

echo "================================"
echo "확인 완료"
echo "================================"
