Commit Graph
1 Commits
Author SHA1 Message Date
Michael Schwarz 4e4bdae584 cpustatMetric.go: Use derived values instead of absolute values
The values in /proc/stat are absolute counters related to the boot
  time of the system. To obtain a utilization of the CPU, the changes
  in the counters must be derived according to time. To take only the
  absolute values leads to the fact that changes in the utilization,
  straight with larger values, do not become visible.
2022-09-07 08:51:37 +02:00