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

openclaw nodes

查看已连接的节点列表。

概要

bash
openclaw nodes [选项]

描述

openclaw nodes 命令用于列出当前已连接到网关的所有节点,显示节点状态、类型、能力和健康检查信息。可用于监控分布式部署中各节点的运行状况。

选项

选项缩写说明默认值
--type <type>-t按节点类型过滤全部
--status <status>按状态过滤:onlineofflineerror全部
--format <type>输出格式:textjsontabletable
--health执行健康检查false
--verbose-v显示详细信息false

节点状态

状态图标说明
online节点正常运行
offline节点离线
error节点异常
busy🔄节点忙碌中

输出示例

$ openclaw nodes
┌────────────┬──────────┬────────┬──────────────────────┬──────────┐
│ 名称        │ 类型     │ 状态   │ 能力                  │ 延迟     │
├────────────┼──────────┼────────┼──────────────────────┼──────────┤
│ node-01    │ compute  │ ✅     │ task-exec, code-run  │ 2ms      │
│ audio-01   │ audio    │ ✅     │ stt, tts             │ 5ms      │
│ cam-office │ camera   │ ⚪     │ capture, ocr         │ -        │
│ mobile-01  │ mobile   │ ✅     │ tap, swipe, input    │ 12ms     │
└────────────┴──────────┴────────┴──────────────────────┴──────────┘
共 4 个节点,3 个在线

示例

bash
# 列出所有节点
openclaw nodes

# 只看音频类型节点
openclaw nodes --type audio

# 只看在线节点
openclaw nodes --status online

# 执行健康检查
openclaw nodes --health

# 以 JSON 格式输出
openclaw nodes --format json

# 显示详细信息
openclaw nodes --verbose

相关命令

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