arthas_thread
Get thread stack traces, CPU usage, and states. Identify blocking threads and top CPU consumers to diagnose performance issues.
Instructions
Get thread information. Shows thread stack traces, CPU usage, and thread states.
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": "arthas_thread"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topN | No | Show top N CPU consuming threads | |
| state | No | Filter by thread state | |
| blocked | No | Find blocking threads | |
| timeout | No | Timeout in ms | |
| threadId | No | Thread ID for detailed info |