openclaw status
查看系统状态。
概要
bash
openclaw status [选项]描述
openclaw status 命令用于查看 OpenClaw 系统的整体运行状态,包括网关服务、消息通道、Agent 实例和模型连接等关键组件的状态信息。是日常运维和问题排查的首选命令。
选项
| 选项 | 缩写 | 说明 | 默认值 |
|---|---|---|---|
--component <name> | -c | 指定查看的组件:gateway、channel、agent、model | 全部 |
--format <type> | 输出格式:text、json | text | |
--watch | -w | 持续监控模式 | false |
--interval <sec> | 监控刷新间隔(秒) | 5 |
输出示例
$ openclaw status
🟢 OpenClaw 运行中 (v2.4.0)
📡 网关
状态: 运行中
地址: localhost:3000
运行时间: 3 天 12 小时
💬 通道
WhatsApp ✅ 已连接 (3 个活跃会话)
Telegram ✅ 已连接 (1 个活跃会话)
WeChat ⚪ 未配置
🤖 Agent
状态: 就绪
活跃会话: 4
今日处理消息: 128
🧠 模型
deepseek-chat ✅ 可用 (延迟: 120ms) [默认]
qwen-max ✅ 可用 (延迟: 85ms)
gpt-4o ✅ 可用 (延迟: 230ms)示例
bash
# 查看整体状态
openclaw status
# 只看通道状态
openclaw status --component channel
# 只看模型状态
openclaw status --component model
# 持续监控模式
openclaw status --watch
# 以 JSON 格式输出
openclaw status --format json
# 自定义刷新间隔
openclaw status --watch --interval 10相关命令
openclaw logs- 日志查看openclaw system- 系统信息openclaw models- 模型管理openclaw nodes- 节点列表
