http-server-status/vendor/github.com/mackerelio/go-osstat/loadavg/loadavg.go
2021-09-20 11:28:00 +02:00

11 lines
184 B
Go

package loadavg
// Get load average
func Get() (*Stats, error) {
return get()
}
// Stats represents load average values
type Stats struct {
Loadavg1, Loadavg5, Loadavg15 float64
}