Skip to content
广告 · 本站推荐广告

openclaw status

查看系统状态。

概要

bash
openclaw status [选项]

描述

openclaw status 命令用于查看 OpenClaw 系统的整体运行状态,包括网关服务、消息通道、Agent 实例和模型连接等关键组件的状态信息。是日常运维和问题排查的首选命令。

选项

选项缩写说明默认值
--component <name>-c指定查看的组件:gatewaychannelagentmodel全部
--format <type>输出格式:textjsontext
--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

相关命令

基于MIT协议开源 | 内容翻译自 官方文档,同步更新