Cách 1 — Status.command / Status.bat (cho người mới)
macOS
macOS
Double-click
setup/Status.command.Output dạng:Windows
Windows
Double-click
setup\Status.bat.Cách 2 — Đọc trực tiếp state.json
Cách 3 — Service status
macOS — launchd
macOS — launchd
com.video-agent.asset-index với pid > 0 → service đang chạy.Windows — Task Scheduler
Windows — Task Scheduler
Linux — systemd
Linux — systemd
Trạng thái phổ biến
| Trạng thái | Ý nghĩa | Hành động |
|---|---|---|
pid > 0, last_error = null | Watcher chạy bình thường | OK |
pid rỗng | Watcher chưa khởi động | Chạy service install lại |
last_error != null | Có lỗi gần nhất | Đọc log + xem Khắc phục sự cố |
processed_count = 0 sau khi drop file | Watcher chạy nhưng không pick file | Kiểm tra log, có thể cần --polling |
Đọc log
macOS
macOS
Windows
Windows
Linux
Linux
Bước tiếp theo
Verify sau cài
Test end-to-end: drop file → search → kết quả.