cc-metric-collector/collectors/topprocsMetric.md
2025-03-05 01:39:03 +01:00

12 lines
256 B
Markdown

## `topprocs` collector
```json
"topprocs": {
"num_procs": 5
}
```
The `topprocs` collector reads the TopX processes (sorted by CPU utilization, `ps -Ao comm --sort=-pcpu`).
In contrast to most other collectors, the metric value is a `string`.