Skip to content

sp ops:运维诊断 ​

AI 代理何时使用: 面向 SRE 的存储与调度健康诊断。

概要 ​

/vi/storage 和 /vi/schedule 下的运维接口。

子命令 ​

子命令方法路径
storage overviewGET/vi/storage/overview
storage diagnosticsGET/vi/storage/diagnostics
storage monitorGET/vi/storage/monitor
schedule monitorGET/vi/schedule/monitor

示例 ​

bash
sp ops storage overview --json
sp ops storage diagnostics --json
sp ops schedule monitor --json

JSON 输出(storage overview) ​

json
{
  "ok": true,
  "command": "ops storage overview",
  "data": {
    "status": "ok",
    "healthy": true
  }
}

JSON 输出(schedule monitor) ​

json
{
  "ok": true,
  "command": "ops schedule monitor",
  "data": {
    "jobs": 0,
    "status": "healthy"
  }
}

捕获 Session · 审查 Steps · 改进关键所在