16 lines
462 B
Go
16 lines
462 B
Go
//go:build !linux
|
|
|
|
package sysstats
|
|
|
|
import (
|
|
"context"
|
|
"time"
|
|
)
|
|
|
|
// Host CPU, memory, load and uptime are only read from /proc on Linux.
|
|
|
|
func cpuUsage(context.Context, time.Duration) (*float64, error) { return nil, nil }
|
|
func memory() *Memory { return nil }
|
|
func loadAvg() *[3]float64 { return nil }
|
|
func hostUptime() *int64 { return nil }
|