winops_perf_process
Measure a Windows process by PID to retrieve CPU usage, memory, thread count, and I/O counters for performance monitoring and troubleshooting.
Instructions
Get CPU, memory, thread count, and I/O counters for a specific process.
Return Format
{
"success": bool,
"pid": int, "name": str,
"cpu_percent": float, "memory_info": {...},
"num_threads": int, "io_counters": {...}
}Examples
process(pid=1234)Errors:
Returns success=false with error if PID does not exist.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"pid": "<pid>"
},
"name": "winops_perf_process"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | Yes | Process ID to measure. | |
| sample_interval | No | CPU sampling interval in seconds. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||