nodes_hot_threads
Diagnose CPU usage issues by identifying hot threads on Easysearch nodes to pinpoint performance bottlenecks and resource-intensive operations.
Instructions
获取节点热点线程
参数:
node_id: 节点 ID(可选)
threads: 每个节点显示的线程数
interval: 采样间隔
type: 线程类型 cpu/wait/block
用于诊断 CPU 高占用问题
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": "nodes_hot_threads"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_id | No | ||
| threads | No | ||
| interval | No | 500ms | |
| type | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |