openclaw 常用管理命令

🔧 systemd 服务管理

  1 # 服务控制
  2 systemctl --user status openclaw-gateway    # 查看状态
  3 systemctl --user stop openclaw-gateway      # 停止服务
  4 systemctl --user start openclaw-gateway     # 启动服务
  5 systemctl --user restart openclaw-gateway   # 重启服务
  6 systemctl --user disable openclaw-gateway   # 禁用开机自启
  7 systemctl --user enable openclaw-gateway    # 启用开机自启
  8
  9 # 查看日志
 10 journalctl --user -u openclaw-gateway -f    # 实时日志
 11 journalctl --user -u openclaw-gateway       # 历史日志

🦞 openclaw CLI 命令

  1 # 状态检查
  2 openclaw doctor              # 健康检查 + 快速修复
  3 openclaw health              # 获取网关健康状态
  4 openclaw logs                # 查看网关日志
  5
  6 # 网关管理
  7 openclaw gateway status      # 查看网关状态
  8 openclaw gateway stop        # 停止网关
  9 openclaw gateway start       # 启动网关
 10 openclaw gateway restart     # 重启网关
 11
 12 # 配置管理
 13 openclaw configure           # 交互式配置
 14 openclaw config get     # 查看配置
 15 openclaw config set     # 设置配置
 16
 17 # 模型管理
 18 openclaw models list         # 列出可用模型
 19 openclaw models configure    # 配置模型
 20
 21 # 其他管理
 22 openclaw agents list         # 查看 agents
 23 openclaw channels list       # 查看聊天频道
 24 openclaw devices list        # 查看设备
 25 openclaw dashboard           # 打开控制 UI

📊 快速检查组合

 1 # 完整状态检查
 2 systemctl --user status openclaw-gateway && openclaw doctor
 3
 4 # 重启服务
 5 systemctl --user restart openclaw-gateway && openclaw health
赞(0)
版权声明:本文采用知识共享 署名4.0国际许可协议 [BY-NC-SA] 进行授权,转载请注明出处。
文章名称:《openclaw 常用管理命令》
文章来自:泰恩数据
文章链接:https://tyne.cc/1316.html
本站资源仅供个人学习使用,请勿用于商业用途。

相关推荐

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址