跳转到主要内容

Documentation Index

Fetch the complete documentation index at: https://docs2.openclaw.ai/llms.txt

Use this file to discover all available pages before exploring further.

openclaw health

从正在运行的 Gateway 网关获取健康状态。

选项

标志默认值描述
--jsonfalse输出机器可读的 JSON,而不是文本。
--timeout <ms>10000连接超时,单位为毫秒。
--verbosefalse详细日志记录。强制执行实时探测,并展开每个智能体的输出。
--debugfalse--verbose 的别名。
示例:
openclaw health
openclaw health --json
openclaw health --timeout 2500
openclaw health --verbose
openclaw health --debug
备注:
  • 默认的 openclaw health 会向正在运行的 Gateway 网关请求其健康状态快照。当该 Gateway 网关已有新的缓存快照时,它可以返回该缓存负载,并在后台刷新。
  • --verbose 会强制执行实时探测,打印 Gateway 网关连接详情,并展开所有已配置账户和智能体的 人类可读输出。
  • 当配置了多个智能体时,输出会包含每个智能体的会话存储。

相关内容