排队作业根因分析(复合诊断)
diagnose_pending_jobsDiagnose why HPC jobs remain queued by sampling pending jobs, aggregating pending-reason root causes, queue quota limits, and node status in one step.
Instructions
自动抓取 PEND 排队作业并并发查询作业详情,聚合 pendReason 根因分布、关联队列配额限制与节点状态。
一步定位「为什么作业一直在排队」,省去人工逐个查看 getJobDetail 和 queueList。
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "diagnose_pending_jobs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_name | No | 可选:限定排查指定用户的排队作业 | |
| cluster_id | No | 集群 ID(clusterId);如已配置默认集群可省略 | |
| queue_name | No | 可选:限定排查指定队列的排队作业 | |
| sample_size | No | 最多并发深入查询详情的排队作业数量(默认 10,最大 25,避免对上游造成过大压力) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||