mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2025-04-16 09:55:56 +02:00
Add docs for topprocs collector
This commit is contained in:
parent
a6a681348a
commit
bc28031ffb
@ -0,0 +1,15 @@
|
|||||||
|
|
||||||
|
## `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`.
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user