mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2025-04-17 18:35:55 +02:00
switch to cc-lib
This commit is contained in:
parent
c53c5673a4
commit
705c31e7e5
@ -9,7 +9,7 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
lp "github.com/ClusterCockpit/cc-energy-manager/pkg/cc-message"
|
lp "github.com/ClusterCockpit/cc-lib/ccMessage"
|
||||||
)
|
)
|
||||||
|
|
||||||
const MAX_NUM_PROCS = 10
|
const MAX_NUM_PROCS = 10
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
## `topprocs` collector
|
## `topprocs` collector
|
||||||
|
|
||||||
```json
|
```json
|
||||||
@ -10,6 +9,3 @@
|
|||||||
The `topprocs` collector reads the TopX processes (sorted by CPU utilization, `ps -Ao comm --sort=-pcpu`).
|
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`.
|
In contrast to most other collectors, the metric value is a `string`.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user