sample_cpu_time_ratios
Sample CPU time deltas over a specified duration and interval, then normalize them into per-state ratios to monitor CPU usage distribution.
Instructions
Sample CPU time deltas and normalize them into per-state ratios.
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": "sample_cpu_time_ratios"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| duration_seconds | No | ||
| interval_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| samples | Yes | ||
| duration_seconds | Yes | ||
| interval_seconds | Yes |