mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2024-11-10 12:37:25 +01:00
16 lines
260 B
Markdown
16 lines
260 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`.
|
||
|
|
||
|
|
||
|
|