openclaw nodes
查看已连接的节点列表。
概要
bash
openclaw nodes [选项]描述
openclaw nodes 命令用于列出当前已连接到网关的所有节点,显示节点状态、类型、能力和健康检查信息。可用于监控分布式部署中各节点的运行状况。
选项
| 选项 | 缩写 | 说明 | 默认值 |
|---|---|---|---|
--type <type> | -t | 按节点类型过滤 | 全部 |
--status <status> | 按状态过滤:online、offline、error | 全部 | |
--format <type> | 输出格式:text、json、table | table | |
--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相关命令
openclaw node- 启动节点openclaw status- 系统状态查看openclaw system- 系统信息
