mirror of
https://github.com/henrygd/beszel.git
synced 2026-10-21 22:02:34 +00:00
14 lines
306 B
Go
14 lines
306 B
Go
//go:build !linux
|
|
|
|
package agent
|
|
|
|
// containerCpuMetrics is Linux-only (cgroup accounting). Other platforms keep
|
|
// the gopsutil /proc path.
|
|
func containerCpuMetrics(uint16, bool) (CpuMetrics, bool) {
|
|
return CpuMetrics{}, false
|
|
}
|
|
|
|
func (a *Agent) initializeCpu() {}
|
|
|
|
func (a *Agent) warnIfRootCgroup() {}
|