http-server-status/vendor/github.com/mackerelio/go-osstat/loadavg/loadavg.go

12 lines
184 B
Go
Raw Normal View History

2021-09-20 09:28:00 +00:00
package loadavg
// Get load average
func Get() (*Stats, error) {
return get()
}
// Stats represents load average values
type Stats struct {
Loadavg1, Loadavg5, Loadavg15 float64
}