sample_cpu_time_ratios
Read-only sampling of live CPU user, system, and idle percentages to monitor system performance.
Instructions
READ-ONLY sampling of live CPU user/system/idle percentages.
Never use for job lists, algorithms, RR, SJF, Priority, or time slices. This is not context-switch monitoring, process control, or CPU scheduling simulation.
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 | Total CPU sampling duration in seconds | |
| interval_seconds | No | Seconds between CPU-time samples |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| samples | Yes | ||
| summary | Yes | ||
| duration_seconds | Yes | ||
| interval_seconds | Yes |