winops_perf_system
Capture system-wide performance metrics including per-core CPU, memory, disk I/O, and optional network I/O on Windows.
Instructions
Snapshot system-wide CPU (per-core), memory, disk I/O, and optionally network I/O.
Return Format
{
"success": true,
"cpu_percent_per_core": [float],
"memory": {...},
"disk_io": {...},
"network_io": {...} // only if include_network=true
}Examples
system()
system(include_network=False, sample_interval=0.5)Notes:
CPU sampling blocks for sample_interval seconds in a thread pool (not the event loop).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| include_network | No | Include network I/O counters. | |
| sample_interval | No | CPU sampling interval in seconds. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||