type LoadAvg … // LoadAvg returns loadavg from /proc. func (fs FS) LoadAvg() (*LoadAvg, error) { … } // Parse /proc loadavg and return 1m, 5m and 15m. func parseLoad(loadavgBytes []byte) (*LoadAvg, error) { … }
type LoadAvg … // LoadAvg returns loadavg from /proc. func (fs FS) LoadAvg() (*LoadAvg, error) { … } // Parse /proc loadavg and return 1m, 5m and 15m. func parseLoad(loadavgBytes []byte) (*LoadAvg, error) { … }