mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2025-09-13 20:23:00 +02:00
switch to cc-lib
This commit is contained in:
@@ -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`.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user