switch to cc-lib

This commit is contained in:
brinkcoder 2025-03-05 01:39:03 +01:00
parent c53c5673a4
commit 705c31e7e5
2 changed files with 1 additions and 5 deletions

View File

@ -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

View File

@ -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`.