# Server Status

> Check server status and trading bot health. 检查服务器状态和交易机器人运行情况。 Use this skill when: - Checking if the trading bot is running (检查机器人是否运行) - Viewing service logs (查看服务日志) - Monitoring system health (监控系统健康) - Checking process status (检查进程状态) - Troubleshooting service issues (排查服务问题) Keywords: status, logs, health, monitor, process, running, service, 状态, 日志, 监控

- Skill: `majiayu000/server-status` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds add majiayu000/server-status`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/server-status/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: majiayu000 (https://skillmd.com/u/majiayu000)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/majiayu000/server-status

---


# Server Status Check

## Server Information

| Item | Value |
|------|-------|
| **IP** | 139.180.157.152 |
| **User** | linuxuser |
| **Service** | nautilus-trader |
| **Path** | /home/linuxuser/nautilus_AItrader |

## Check Commands

### Service Status
```bash
sudo systemctl status nautilus-trader
```

### View Logs
```bash
# Last 50 lines
sudo journalctl -u nautilus-trader -n 50 --no-hostname

# Real-time follow
sudo journalctl -u nautilus-trader -f --no-hostname
```

### Check Processes
```bash
ps aux | grep main_live.py
```

## Status Indicators

### ✅ Normal Operation
```
🚀 *Strategy Started*
📊 *Instrument*: BTCUSDT-PERP
Active: active (running)
```

### ❌ Common Errors

| Error | Cause | Solution |
|-------|-------|----------|
| `can't open file 'main.py'` | Wrong entry file | Change ExecStart to `main_live.py` |
| `EOFError: EOF when reading a line` | Missing env var | Add `Environment=AUTO_CONFIRM=true` |
| `telegram.error.Conflict` | Telegram conflict | Does not affect trading, can ignore |

## Quick Diagnosis

If service is abnormal, check in this order:

1. **Service Status**: `sudo systemctl status nautilus-trader`
2. **Recent Logs**: `sudo journalctl -u nautilus-trader -n 100 --no-hostname`
3. **Config File**: `cat /etc/systemd/system/nautilus-trader.service`
4. **Entry File**: Confirm it's `main_live.py`

