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.
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 | |||